[PyQt] Supporting Python 3 (and 2)
Simon Edwards
simon at simonzone.com
Tue Nov 10 16:14:11 GMT 2009
Phil Thompson wrote:
> On Tue, 10 Nov 2009 12:46:26 +0100, Simon Edwards <simon at simonzone.com>
> wrote:
>> 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.
I'm invoking sip and g++ etc from cmake. I didn't notice any special
python 3 flags for sip.
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
simon at simonzone.com | http://www.simonzone.com/software/
Nijmegen, The Netherlands | "ZooTV? You made the right choice."
More information about the PyQt
mailing list