[PyQt] Supporting Python 3 (and 2)

Phil Thompson phil at riverbankcomputing.com
Tue Nov 10 11:58:57 GMT 2009

On Tue, 10 Nov 2009 12:46:26 +0100, Simon Edwards <simon at simonzone.com>
> Phil Thompson wrote:
>> On Tue, 10 Nov 2009 08:40:31 +0100, Simon Edwards <simon at simonzone.com>
>> wrote:
>>> Hello Phil and Friends,
>>> I'm (finally) digging into figuring out what I need to do for PyKDE to 
>>> support Python 3. There doesn't seem to be much written on the subject,

>>> but I get the impression still that it is dead simple. It is just a 
>>> matter of generating the C++ using SIP and compiling the result against

>>> the Python 3 headers and linking against Python 3's library? And then 
>>> possibly adding some API annotations to PyKDE to support the newer way 
>>> of doing things?
>  > [snip]
> ok, thanks. But as far as the first step goes, building and compilation, 
> it is just a case of using Python 3's headers and library?

Apart from the fact that I think that's one of the last steps - yes.

SIP's build system will sort it out for you - if you are using it.


More information about the PyQt mailing list