[PyQt] PyQt, uic and cx_freeze
Phil Thompson
phil at riverbankcomputing.com
Wed Sep 22 19:42:51 BST 2010
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
More information about the PyQt
mailing list