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

List:       pykde
Subject:    Re: [PyQt] PyQt/SIP snapshots
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2009-03-29 11:11:14
Message-ID: 6543d3deb5171959b579d5f2277bc721 () localhost
[Download RAW message or body]

On Sun, 29 Mar 2009 04:22:14 +0200, David Boddie <david@boddie.org.uk>
wrote:
> On Sunday 29 March 2009, Phil Thompson wrote:
>> On Sat, 28 Mar 2009 21:16:31 +0100, David Boddie <david@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?

Neither, it's a simple hack of rcc. I think a Python version would be
fairly trivial to implement, but it's always been low priority.

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