Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#557921: pympd: installs files to /usr/local for Python >= 2.6

0 views
Skip to first unread message

Jakub Wilk

unread,
Nov 25, 2009, 4:30:01 AM11/25/09
to
Source: pympd
Version: 0.07-1.2
Severity: important
User: debian...@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:

[pympd_0.07-1.2_all.deb]
/usr/local/share/pympd/glade/logger.glade
/usr/local/share/pympd/glade/favorites.glade
/usr/local/share/pympd/glade/coverviewer.glade
/usr/local/share/pympd/glade/autompd.glade
/usr/local/share/pympd/glade/pympd.glade
/usr/local/share/pympd/glade/audioscrobbler.glade
/usr/local/share/pympd/plugins/stopbutton.py
/usr/local/share/pympd/plugins/audioscrobbler.py
/usr/local/share/pympd/plugins/trayicon.py
/usr/local/share/pympd/plugins/logger.py
/usr/local/share/pympd/plugins/simplequeue.py
/usr/local/share/pympd/plugins/artisttracker.py
/usr/local/share/pympd/plugins/autompd.py
/usr/local/share/pympd/plugins/favorites.py
/usr/local/share/pympd/plugins/embeddedart.py
/usr/local/share/pympd/plugins/coverviewer.py
/usr/local/share/pympd/plugins/fixdisplay.py
/usr/local/share/pympd/pympd.svg
/usr/local/share/applications/pympd.desktop
/usr/local/share/pixmaps/pympd.svg
/usr/local/bin/pympd


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...@lists.debian.org

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

--
Jakub Wilk

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

0 new messages