Source: arandr
Version: 0.1.2-1
Severity: important
User: debian-pyt...@lists.debian.org
Usertags: python2.6 usr-local

Hello,

Starting from Python 2.6, the installation paths for distutils have
changed. /usr/local is now used by default.

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

[arandr_0.1.2-1_all.deb]
/usr/local/share/man/man1/arandr.1.gz
/usr/local/share/applications/arandr.desktop
/usr/local/share/locale/de/LC_MESSAGES/arandr.mo
/usr/local/bin/arandr
/usr/local/lib/python2.6/dist-packages/arandr-0.1.2.egg-info
/usr/local/lib/python2.6/dist-packages/screenlayout/auxiliary.py
/usr/local/lib/python2.6/dist-packages/screenlayout/snap.py
/usr/local/lib/python2.6/dist-packages/screenlayout/demo.py
/usr/local/lib/python2.6/dist-packages/screenlayout/__init__.py
/usr/local/lib/python2.6/dist-packages/screenlayout/xrandr.py
/usr/local/lib/python2.6/dist-packages/screenlayout/data/gpl-3.txt
/usr/local/lib/python2.6/dist-packages/screenlayout/gui.py
/usr/local/lib/python2.6/dist-packages/screenlayout/widget.py
/usr/local/lib/python2.6/dist-packages/screenlayout/metacity.py


How to fix it?
==============
* try to pass "--prefix=/usr" to setup.py call, check if it's enough,
* 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-pyt...@lists.debian.org

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

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to