Hacker News new | ask | show | jobs
by scarygliders 1663 days ago
tip: Rather than using --onefile to create a single standalone executable, IMO you're far better off creating a dist then packaging that into an Installer using Inno Setup or similar.

Your app will start quicker, because it won't be a case of the "single executable" doing the old unzip-and-run thing every time.

1 comments

Py2exe/pyinstaller is what I've always done as well. It works really well for distributing Python apps on Windows in my experience. Have been using that combo for many years now and while it's not perfect it is still the best way to distribute Python applications on Windows.