Anybody know how this can be done? I took a look at cx_Freeze, but it seems that it doesn't compile everything necessary into one binary (i.e., the python builtins aren't present).
1 Answer
The standard freeze tool (from Tools/freeze) can be used to make fully-standalone binaries on Unix, including all extension modules and builtins (and omitting anything that is not directly or indirectly imported).
1 Comment
John Nicely
Had no clue about that. Thanks so much, it sounds like exactly what I need.
cx_Freezeworks fine for me, at least on Windows (never tried on Linux). If the builtins were missing, that would be a pretty severe but - I doubt it would stay unnoticed. That being said, if it missing a dependency, you can also explicitly tell it to include it (refer to docs).