[PyQt] PyQt, uic and cx_freeze
Sebastian Elsner
sebastianelsner at freenet.de
Wed Sep 22 20:48:35 BST 2010
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.Huck at 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 at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100922/c7eb83e6/attachment-0001.html>
More information about the PyQt
mailing list