Lurker News
Back to discussion

Comment by mhio

mhio1 reply#
How big is a python3 runtime when pex has packaged it up? And do you happen to know what the output binary is linked to?
mypalmike#
As I recall, pex doesn't package up the runtime. It essentially packages up your venv, code, and resources and runs them under an installed runtime. It makes use of a relatively unknown bit of python functionality, which is that CPython will try to treat a zip file as a valid python script.