I've had the exact same issue with py2exe today. I just deleted the port_v3 folder and it worked.

Am 22.09.2010 20:42, schrieb Phil Thompson:
On Thu, 23 Sep 2010 06:37:43 +1200, Matthew Huck
<matthew.h...@unlimitedrealities.com>  wrote:
Hi,
   I'm in the process of trying cx_freeze an PyQt app I've written and
have
   discovered the following bug:

In PyQt/uic/port_v3/proxy_base.py, on line 4, if it reads
"class ProxyBase(metaclass):"
the code can be  interpreted by python 2.6, and 3.1, however with it in
it's default state of
"class ProxyBase(metaclass=ProxyType):"
only 3.1 can interpret it.
...and pyuic4 guarantees that it will only be called by Python3. It's a
cx_freeze bug/feature.

Phil
_______________________________________________
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

Reply via email to