[PyQt] C composite module problem and workaround
V. Armando Sole
sole at esrf.fr
Wed Dec 5 17:25:16 GMT 2007
At 17:57 05/12/2007 +0100, Giovanni Bajo wrote:
>On 12/5/2007 5:49 PM, V. Armando Sole wrote:
>
>>I have found some difficulties freezing my applications with cx_freeze.
>>Previously I did not have any problem and I have been using the same
>>scripts as before.
>>The problems seem to be related to the use of the C composite module. If
>>I remove that module and replace it by a Qt.py module importing exactly
>>the same modules as the composite module all the problems disappear.
>>I know that module has been introduced to allow the use of badly packaged
>>distributions of PyQt. Perhaps it would be a good idea to pass an
>>optional parameter to configure.py to say we do not want the C module but
>>the Qt.py module.
>>As far as the C module is not doing anything else than from "PyQt4.xxxx
>>import *" the problem has an easy workaround, but please, keep it in mind
>>if you think about adding other features to it.
>
>I disagree. It's your freezing tool that is not "smart" enough to handle
>the composite module scenario. PyInstaller does not have such problems.
No but it has certainly others :-)
In any case, my main goal was to inform others that may fall in the same
trap. It has taken to me a while to find out what was going on.
Best regards,
Armando
More information about the PyQt
mailing list