4 ms·
You /can/ package python applications into a single binary -- just a zip file prepended with a python shebang. You can do much the same with the base python lib
by BwackNinja 4y ago
You /can/ package python applications into a single binary -- just a zip file prepended with a python shebang. You can do much the same with the base python libraries. No one does it, I presume, because the community is against vendoring dependencies that way, the same way they are against static binaries.
https://bwackninja.github.io/2020/11/25/packaging-python.html https://bwackninja.github.io/2020/11/25/packaging-python.htm...
- c7DJTLrn 4y agoThat doesn't solve anything. You still need a Python interpreter. It's literally just another way to move code around.
- isignal 4y agoThat doesn’t work for python extensions used by the application. These extensions may include or link to other dynamic libraries.
- krageon 4y agoIf you have a packaging problem approaching any kind of complexity all python packaging is trash.