3 ms·
Cool. I'm surprised this didn't exist earlier. Now someone upload it to pypi for even more hilarity.
by extraduder_ire 3y ago
Cool. I'm surprised this didn't exist earlier.
Now someone upload it to pypi for even more hilarity.
- guappa 3y agoThere was (and is) no reason for it to exist since python supports running .zip files that contain all the dependencies.
- tarxvf 3y agoI had never heard of that, reading up on it now. Thanks for posting!
- lawtalkinghuman 3y agopex is a build tool built on the top of the zip trick. A pex file doesn't contain a bundled interpreter, but it zips up the entire virtualenv. Also no Windows support. https://pex.readthedocs.io/en/latest/ https://pex.readthedocs.io/en/latest/