[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#557822: libplist: uses pythonX.Y/site-packages for Python >= 2.6



Source: libplist
Version: 0.13-2
Severity: minor
User: debian-python@lists.debian.org
Usertags: python2.6 dist-packages

Hello,

When rebuilt against python-all{,-dev,-dbg} (and thus python2.6) from
Debian experimental (and with python2.6 as the default one), your binary
package contained these files:

[libplist0-dbg_0.13-2_amd64.deb]
/usr/lib/debug/usr/lib/python2.6/site-packages/libplist/_PList.so


This is an indication of a broken package: Python >= 2.6 does not
look for modules into /usr/lib/pythonX.Y/site-packages/ anymore, but
uses /usr/lib/pythonX.Y/dist-packages/ instead.

How to fix it?
==============
* if your package is using python-central:
  - add "XB-Python-Version: ${python:Versions}" to all binary packages
    that ship Python modules (.py files) or extensions (.so, including
    _d.so) in debian/control, check if it's enough,
  - try to convert to python-support[1], check if it's enough,
* add --install-layout=deb to setup.py call and bump minimum required
  python{,-all,all-dev} build dependency to 2.5.4-1~, check if it's enough
* ask for help on #debian-python or debian-python@lists.debian.org

[1] http://wiki.debian.org/DebianPython/central2support

--
Jakub Wilk



Reply to: