Hacker News new | ask | show | jobs
by mhio 1438 days ago
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?
1 comments

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.