4 ms·
I use PyInstaller to distribute a Qt5-based GUI app, and some associated CLI tools. It's fairly easy to configure, and works out fine.
by __d 2y ago
I use PyInstaller to distribute a Qt5-based GUI app, and some associated CLI tools. It's fairly easy to configure, and works out fine.
- hack_fraud13 2y agoI've tried this but never got the PyInstaller deployment process down smooth enough for my taste. Even for small apps, I end up rewriting in C# to compile executables with if I need to deploy to people who don't use code. With PyInstaller, since you have to package the Python interpreter the .exe always ends up too large and slow for my taste (especially since I usually compile with --onefile. I'm wondering how you do it, if you use onefile or have some better way to run PyInstaller so the final exe is smaller or faster.
- __d 2y agoI use -F (--onefile). It's certainly not fast to start, but in my case, it's not a quick one-and-done type thing, so I don't mind too much
- philomath_mn 2y agoHow big is your distribution file? I tried this but my project had numpy and pandas and the distributable was like 350 MB!
- __d 2y agoI have Qt, but not numpy or pandas. My executable is 40MB (still big).