5 ms·
Not entirely true anymore. Nuitka (nuitka.net) has been able to compile python programs to a single stand alone executable reliably, robustly and easily for a
by sametmax 8y ago
Not entirely true anymore.
Nuitka (nuitka.net) has been able to compile python programs to a single stand alone executable reliably, robustly and easily for a while now.
It's a real gem and deserves to be more popular. We are very far from the quirks of pyinstaller or cxfreeze : it just works, even with numpy or qt.
Yes, go is still superior for deployment :
- it can cross compile
- executables are smaller
- it's built in so it's just an easier experience
- it doesn't depend on libc
But it's important to spread the word: the time were your python program was hard to ship is over.
Just use nuitka.
- amerine 8y agoop literally said: > To be safe, you need to carry the vm and other dependencies with you.
- empthought 8y agoYou do the equivalent with Go too, it's just much smaller and the norm, rather than something remarkable.