Python version indication
michael at bienia.de
Mon Nov 30 09:58:36 GMT 2009
On 2009-11-30 00:44:45 +0100, Tim Michelsen wrote:
> Therefore, I pu the minimum python version in my control file:
> XS-Python-Version: >=2.5
> I am on Ubuntu Karmic.
> When installing the package generated with
> dpkg-buildpackage -us -uc
> the system also installes the modules files for Python 2.5 into:
For python2.6 this is wrong as it looks for modules in
/usr/lib/python2.6/dist-packages. This is usually a problem in upstream
installation script blindly assuming site-packages.
> So why are the build module files for Python 2.5 additionally installed?
Because you wrote that this package works on all python version >= 2.5.
And in Karmic the supported python version are 2.5 and 2.6. So the
module gets also build for python2.5 (in case someone wants to use it
> What do I need to change in my control file in order to get only the
> Python 2.6 files installed on systems where 2.6 is the default Python
Does it make the package that bigger that you don't want it? Do you have
a reason for not supporting python2.5?
More information about the Ubuntu-motu