I actually had nothing but problems with PyInstaller. In my instance, I am using Twisted + PyQt4 in my app, so I could never even get it to run while frozen. Not to mention it seems to want to pickup every dll in my system to package it into my app (like kernel32.dll).

You can manually copy the Qt plugins folder, since you should only need to do this once unless you delete the dist folder each build (that gets annoying quick). I know theres no support for implicit dependencies, but you can explicitly define them in the setup script (or you can use something like Gui2Exe).

Giovanni Bajo wrote:
On Mon, 2010-01-11 at 21:54 -0500, Demetrius Cassidy wrote:
You probably forgot to include the sqlite3.dll with your redist package. Alternatively, you can try to use py2exe instead of cx_Freeze. It works pretty well for me and is good at picking up dependencies.

AFAIK, py2exe doesn't have *any* support for picking up implicit
dependencies. For instance, for PyQt, it doesn't know about Qt plugins
so it would not pick up anything.

PyInstaller (http://www.pyinstaller.org/), instead, should work out of
the box.


_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to