[PyQt] PyQt 4.7 and py2exe error
INADA Naoki
songofacandy at gmail.com
Tue Feb 9 02:15:37 GMT 2010
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
>
--
INADA Naoki <songofacandy at gmail.com>
More information about the PyQt
mailing list