jhermann / blog

:page_with_curl: My fastpages blog.
https://jhermann.github.io/blog
Apache License 2.0
8 stars 7 forks source link

Enabling Easy Zipapp Installs on Windows | Snakes on Callisto #6

Open utterances-bot opened 4 years ago

utterances-bot commented 4 years ago

Enabling Easy Zipapp Installs on Windows | Snakes on Callisto

How to prepare a Windows system for a good PYZ experience.

https://jhermann.github.io/blog/python/deployment/2020/02/29/python_zippapps_on_windows.html

jfinkhaeuser commented 4 years ago

So zipapps are PEX without the interpreter bundled?

jhermann commented 4 years ago

Sort of, yes. But bundling an interpreter with a PEX is optional anyway – which is a good thing, since you can make a PEX multi-platform (all extensions for all requested platforms are included then).

What these tools add on top of core zipapps is the bundling of extensions, and having their bootstrap code in __main__ unpack them to a filesystem cache, so the OS can bind them.