I’ve spent a few hours today trying out Nuitka, compiling a few apps I’d previously created in Python. So far the only hiccup has been that it always seems to include Tk even when it’s not used (which is not a big deal imo).
If you’re unfamiliar with Nuitka: “It translates Python into a C program that then is linked against libpython to execute exactly like CPython”
The distribution folder it outputs seems to start at around 24mb on Win64 (4mb of which is the unrequired Tk libs) and that almost doubled for an app I have that uses wx widgets. The output is a folder containing an *.exe file along with any necessary *.dll and *.pyd files. If you’re unfamiliar with *.pyd it’s really just a *.dll containing function(s) with a specific signature that enables Python to import from it.
So far I’m really impressed with what Nuitka does and how easy it is to use.