Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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_compa...


Not anymore: PEX now supports including an interpreter in the package: https://docs.pex-tool.org/scie.html

And unfortunately, PyOxidizer went into maintenance mode: https://gregoryszorc.com/blog/2024/03/17/my-shifting-open-so...


Adding 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#a...


How does Pyoxidizer compare to pyinstaller and nuitka?


Great 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: