2 ms·
zipapp, which comes bundled with python since 3.5, is your friend. It can produce a single .pyz file which has all dependencies except the interpreter itself i
by Too 7y ago
zipapp, which comes bundled with python since 3.5, is your friend.
It can produce a single .pyz file which has all dependencies except the interpreter itself inside. Actually this format is compatible all the way back to Python 2.6, it's only the zipapp convenience scripts that are new.
https://docs.python.org/3/library/zipapp.html#creating-standalone-applications-with-zipapp https://docs.python.org/3/library/zipapp.html#creating-stand...