[PyQt] Preferred method to package PyQt-powered apps into .exes

eliben eliben at gmail.com
Sun Jan 18 20:25:29 GMT 2009

Thorsten Kampe wrote:
> * eliben (Sat, 17 Jan 2009 06:55:58 -0800 (PST))
>> I'll want to package my applications into .exe files, on Windows.
>> Which of the existing options in the Python exe-packaging world works
>> best for PyQt? PyInstaller? Py2exe? Something else?
> You can try them all but probably Pyinstaller (grab the development 
> snapshot if possible).

Did that. Indeed, Pyinstaller works very well with PyQt out of the box (on
Windows, Pyton 2.5.2)
Strangely you can either get a SVN snapshot of Pyinstaller or a really old
version. I wonder why they don't update it, not everyone can checkout stuff
from SVN, I think.

A basic GUI with Pyqt compiled with Pyinstaller takes about 8 MB, which is
reasonable. With UPX it went down to 6, but the loading time got longer. And
UPX takes really long to compress the executable... Did anyone experience
larger wins from it with PyQt stuff?


View this message in context: http://www.nabble.com/Preferred-method-to-package-PyQt-powered-apps-into-.exes-tp21517230p21532505.html
Sent from the PyQt mailing list archive at Nabble.com.

More information about the PyQt mailing list