4 ms·
http://nuitka.net/ http://nuitka.net/ is what you are looking for. It's robust, proven, does work well with C extensions (including numpy and QT) and produces
by sametmax 8y ago
http://nuitka.net/ http://nuitka.net/ is what you are looking for.
It's robust, proven, does work well with C extensions (including numpy and QT) and produces stand alone binaries. You can produce binaries for Windows, Linux and Mac (but not cross compile). It works by turning the whole Python code into C before compiling the result. The additional benefit of that is that you gain a bit of execution speed.
The project is amazingly little known in the community while PyInstaller, py2exe, cx_Freeze, bbfreze, py2app are: nuikta works better, handle more edge cases, target more OSes and support recent versions of Python.
The best way to be convinced is to read the last entry of the blog on the home page: the guy is meticulous with this project.
- etaioinshrdlu 8y agoWell, on my last project, I found PyInstaller to work best and Nuitka changed too many things about the environment. PyInstaller felt quite close to an auto-unzipping python interpreter and your code, simple.