[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] PyQt 4.7 and py2exe error
From:       Albert Cervera i Areny <albert () nan-tic ! com>
Date:       2010-02-09 8:18:20
Message-ID: 201002090918.21131.albert () nan-tic ! com
[Download RAW message or body]

I think it's something specific to Python 3.0 and when py2exe tries to include 
PyQt, it builds all modules including the python 3.0 specific one. Probably 
that directory shouldn't be distributed on 2.x PyQt installers...

A Dimarts, 9 de febrer de 2010, Scott Ballard va escriure:
> 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@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@riverbankcomputing.com
> >> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
> 
> _______________________________________________
> PyQt mailing list    PyQt@riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
> 


-- 
Albert Cervera i Areny
http://www.NaN-tic.com
Mòbil: +34 669 40 40 18
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic