[PyQt] PyQt/SIP snapshots

David Boddie david at boddie.org.uk
Sun Mar 29 03:22:14 BST 2009


On Sunday 29 March 2009, Phil Thompson wrote:
> On Sat, 28 Mar 2009 21:16:31 +0100, David Boddie <david at boddie.org.uk>

> >  * pyrcc4 now requires you to pass -py2 for Python 2.x code - this breaks
> >    existing build environments. Is there a way that it could figure out
> >    which version of Python it is running with and use that to determine
> >    what kind of code to generate?
>
> I can't think of one (until pyrcc4 is re-written in Python). You only need
> to pass -py2 for Python 2.5.x and earlier.  If it was for Python 2.x then I
> would have made it the default.

Ah, I forgot that pyrcc4 is written in C++. Was it done so for performance
reasons or was there something that couldn't easily be done in Python?

David


More information about the PyQt mailing list