[PyQt] Deploying a PyQt4 application on Windows using py2exe

Luper Rouch luper.rouch at gmail.com
Thu Mar 22 23:11:14 GMT 2007


Tony Cappellini a écrit :
> from distutils.core import setup
> import py2exe
>
> setup(windows=[{"script":"main.pyw"}], options={"py2exe":
> {"includes":["sip"]}} )
>
> python setup.py py2exe
>
Well all I can say is that an equivalent setup works for me, with these 
versions :
python-2.5
py2exe-0.6.5
PyQt-4.1.1
qt-4.2.3

I looked into library.zip, QtCore.pyc and QtGui.pyc are also ~500 
bytes... I don't think your problem is related to PyQt :-)



More information about the PyQt mailing list