Re:All the Ways to Compress and Archive Files in Python
by hprotagonist on Monday September 13, 2021 @09:56AM
(#28511537)
for bundled deps, see shiv or pex.
https://shiv.readthedocs.io/en/latest/
https://pex.readthedocs.io/en/v2.1.49/
You still need the host to have a base python interpreter.
Re:All the Ways to Compress and Archive Files in Python
by BiteCode_dev on Monday September 13, 2021 @10:06AM
(#28511671)
Carefull though, pex doesn't work on windows
Re:All the Ways to Compress and Archive Files in Python
by BiteCode_dev on Monday September 13, 2021 @10:01AM
(#28511606)
pip install --target to download your deps then use shiv
Edit: Answered by first question: https://docs.python.org/3/library/zipapp.html#creating-stand...