[PyQt] PyQt 4.7 and py2exe error

Scott Ballard scott at scottballard.net
Tue Feb 9 02:30:16 GMT 2010


Wow, that worked like a charm! I'd love to get Phil's input on this one. 
The package looks like a dummy package but I dont know.

Thanks for the tip!
-Scott

On 2/8/2010 6:15 PM, INADA Naoki wrote:
> I've removed 'port_v3' directory.
> I don't know this is a best solution or not.
>
> On Tue, Feb 9, 2010 at 4:25 AM, Scott Ballard<scott at scottballard.net>  wrote:
>    
>> I'm trying to create an executable on Windows using Py 2.6.2, PyQt 4.7 and
>> py2exe 0.6.9 and am getting the following error:
>>
>> C:\Python26\lib\site-packages\py2exe\build_exe.py:16: DeprecationWarning:
>> the sets module is deprecated
>>   import sets
>> running py2exe
>> *** searching for required modules ***
>> error: compiling
>> 'C:\Python26\lib\site-packages\PyQt4\uic\port_v3\proxy_base.py' failed
>>     SyntaxError: invalid syntax (proxy_base.py, line 4)
>>
>> -- command
>> python setup.py py2exe
>>
>> --setup.py
>> from distutils.core import setup
>> import py2exe
>> setup(windows=[{"script" : "shotValidator.pyw"}], options={"py2exe" :
>> {"includes" : ["sip", ]}})
>>
>>
>> Any thoughts?
>>
>> Thanks,
>> -Scott
>> _______________________________________________
>> PyQt mailing list    PyQt at riverbankcomputing.com
>> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>>
>>      
>
>
>    


More information about the PyQt mailing list