5 ms·
Does zipapp automatically bundle dependencies, or do you need to specify that somehow? Also, how does this handle native extensions? Edit: Answered by first qu
by jjice 5y ago
Does zipapp automatically bundle dependencies, or do you need to specify that somehow? Also, how does this handle native extensions?
Edit: Answered by first question: https://docs.python.org/3/library/zipapp.html#creating-standalone-applications-with-zipapp https://docs.python.org/3/library/zipapp.html#creating-stand...
- hprotagonist 5y agofor bundled deps, see shiv or pex. https://shiv.readthedocs.io/en/latest/ https://shiv.readthedocs.io/en/latest/ https://pex.readthedocs.io/en/v2.1.49/ https://pex.readthedocs.io/en/v2.1.49/ You still need the host to have a base python interpreter.
- BiteCode_dev 5y agoCarefull though, pex doesn't work on windows
- BiteCode_dev 5y agopip install --target to download your deps then use shiv