3 ms·
I find Nuitka worked a lot better than the alternatives. It genuinely compiles the Python to an executable, rather the all the other alternatives (like pyinstal
by quietbritishjim 3y ago
I find Nuitka worked a lot better than the alternatives. It genuinely compiles the Python to an executable, rather the all the other alternatives (like pyinstaller) which actually have the Python files hidden inside of them. It doesn't give any particular speed advantage (despite that being the original point) but works very well for packaging.
I would suggest using the "standalone" mode of Nuitka. As the name suggests, it is self contained, but it's a lot of files per program because all the C extension modules are separate files. It's tempting to use "onefile" model instead because it really is over for so seems neater, but this is really just a self extracting program with the same files hidden inside as standalone, so has a few issues like the other packagers (e.g. can trigger virus warnings or leave files lying around in temp directory).