[PyKDE] Multiple PyQt version in one Python installation

Simon Edwards simon at simonzone.com
Sun Nov 5 18:20:00 GMT 2006


On Sunday 05 November 2006 13:15, Phil Thompson wrote:
> I understand where you are coming from, and the situation you describe is 
> perfectly possible - and no different from hundreds of other open source 
> packages.

I don't think that is quite the case. The standard approach that distributions 
use for this kind of problem is to make it possible to install the old 
version along side the new one. This is very common for shared libraries for 
example.

> If you are using out of distro packages you expect to have to recompile them 
> from time to time. The most obvious example is if your distro updates it's 
> version of Python - you have to recompile your extension modules, whether 
> they are SIP based or not.

I am fairly sure that that is not how Debian handles Python these days. They 
phase in support for newer Python versions and modules, while maintaining the 
older packages for any software that needs them. Right I use Python 2.4 and I 
can also install packages for 2.3 or 2.5, and use the them at the same time.

> What I don't get it why SIP merits being singled out for special treatment.

The "parallel installation" trick doesn't work for SIP inside the same Python 
version.

The reason why I'm busying myself with this whole issue is because KDE 4 is 
coming and little has been communicated about Python and PyKDE in the KDE 
community. I've been talking to Jim about his plans for PyKDE, and once I've 
got some of the details worked out I'll be promoting PyKDE a bit to the 
KDE "core" developers and anyone else who will listen. :-)

cheers,

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