reopen 530526 found 530526 1.7.1-1 retitle 530526 pytrainer: uses python2.6/site-packages with Python 2.6 as default thanks
Hello,When rebuilt in an environment with Python 2.6 as the default version, your binary package contained these files:
/usr/lib/python2.6/site-packages/pytrainer-1.7.1-py2.6.egg-info /usr/lib/python2.6/site-packages/pytrainer/*.py /usr/lib/python2.6/site-packages/pytrainer/gui/*.py /usr/lib/python2.6/site-packages/pytrainer/extensions/*.py /usr/lib/python2.6/site-packages/pytrainer/lib/*.py Here are the relevant parts of the build log: | python setup.py install --no-compile --prefix /build/user-pytrainer_1.7.1-1-amd64-rz42KG/pytrainer-1.7.1/debian/pytrainer/usr [...] | running install_lib | creating /build/user-pytrainer_1.7.1-1-amd64-rz42KG/pytrainer-1.7.1/debian/pytrainer/usr/lib | creating /build/user-pytrainer_1.7.1-1-amd64-rz42KG/pytrainer-1.7.1/debian/pytrainer/usr/lib/python2.6 | creating /build/user-pytrainer_1.7.1-1-amd64-rz42KG/pytrainer-1.7.1/debian/pytrainer/usr/lib/python2.6/site-packages | creating /build/user-pytrainer_1.7.1-1-amd64-rz42KG/pytrainer-1.7.1/debian/pytrainer/usr/lib/python2.6/site-packages/pytrainer | creating /build/user-pytrainer_1.7.1-1-amd64-rz42KG/pytrainer-1.7.1/debian/pytrainer/usr/lib/python2.6/site-packages/pytrainer/lib The correct location of Python modules for Python >= 2.6 is /usr/lib/pythonX.Y/dist-packages. In fact, packages shipping files in /usr/lib/python2.6/site-packages will break installation of python2.6-minimal.If you need help with fixing this bug, don't hesitate to ask on #debian-python or debian-pyt...@lists.debian.org.
-- Jakub Wilk
signature.asc
Description: Digital signature