Python Executable Packaging
Discussions center on tools like PyInstaller, Nuitka, cx_Freeze, and py2exe for bundling Python applications and dependencies into standalone executables or binaries to ease deployment without requiring Python installation.
Activity Over Time
Top Contributors
Keywords
Sample Comments
Instead of PyInstaller, I had success using Nuitka. Doesn't work with every Python package, but I think it's easier to use.
I've had good experiences with PyInstaller, if you haven't tried it yet (or recently).
I've used PyInstaller at least. Pretty sure there are others as well.
I have nightmares of dealing with Python packaging... I finally gave up and just started using PyInstaller to ship binary blobs to people.
pyinstaller, shiv, pex, docker: depending on use case, any of these may be appropriate.
My Python isn't very good so I'm not familiar with your cxFreeze/pyOxidizer/pyInstaller list, but couldn't you just develop your python using one of these tools from the start?
I'm sorry, doesn't pip already works there? Otherwise, there's pyinstaller which is great but it requires an entrypoint so it won't do with a pure lib that doesn't expose any script at all.
You could always use something like PyInstaller...https://pyinstaller.org
There are many ways of doing this for Python... pyinstaller, py2exe, Nuitka to name a few
Nice! How does the packaging works ? Is it through pyinstaller ?