Packaging fails on Mac when using PyQt

Issue #5 resolved
Santiago Reig
created an issue

When packaging an application that uses PyQt on Mac, the cx_Freeze building process fails to complete:

Lions-Mac:Platex User$ sudo /Library/Frameworks/Python.framework/Versions/Current/bin/python bdist_dmg

..... (full log at )

copying Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyQt4/ -> build/exe.macosx-10.6-intel-2.7/ copying /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyQt4/ -> build/exe.macosx-10.6-intel-2.7/ copying QtCore.framework/Versions/4/QtCore -> build/exe.macosx-10.6-intel-2.7/QtCore error: QtCore.framework/Versions/4/QtCore: No such file or directory

I think it fails because it tries to get the file from QtCore.framework/Versions/4/QtCore when it should be /Library/Frameworks/QtCore.framework/Versions/4/QtCore

Comments (2)

  1. Thomas Kluyver

    Discussion on the mailing list found that it seems to work if Qt is built as a library, but not if it is built as a framework. Macports builds it as a library by default.

  2. Log in to comment