4 ms·
Pex and Shiv both require the end user to have Python installed, so I think PyOxidizer is the best tool in this category: https://pyoxidizer.readthedocs.io/en/s
by mappu 2y ago
Pex and Shiv both require the end user to have Python installed, so I think PyOxidizer is the best tool in this category: https://pyoxidizer.readthedocs.io/en/stable/pyoxidizer_comparisons.html https://pyoxidizer.readthedocs.io/en/stable/pyoxidizer_compa...
- martsa1 2y agoHow does Pyoxidizer compare to pyinstaller and nuitka?
- mappu 2y agoGreat question! That was actually covered in the link I posted. Compared to PyInstaller, it doesn't dump any temporary files on disk. Compared to Nuitka, it uses the real CPython, not a different implementation.
- stuhood 2y agoNot anymore: PEX now supports including an interpreter in the package: https://docs.pex-tool.org/scie.html https://docs.pex-tool.org/scie.html And unfortunately, PyOxidizer went into maintenance mode: https://gregoryszorc.com/blog/2024/03/17/my-shifting-open-source-priorities/ https://gregoryszorc.com/blog/2024/03/17/my-shifting-open-so...
- delijati 2y agoAdding the interpreter is fairly easy. I had in project to do it for windows. If someone is interested. https://github.com/delijati/docker-shiv?tab=readme-ov-file#add-python-interpreter https://github.com/delijati/docker-shiv?tab=readme-ov-file#a...