Re:Processing 40TB of code from 10M projects with a dedicate...
by Too on Thursday October 03, 2019 @12:33AM
(#21143741)
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.
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-stand...