* Samuel Thibault <sthiba...@debian.org>, 2010-02-27, 14:17:
| $ find debian/tmp/ -type f -path '*python*' | debian/tmp/usr/local/lib/python2.6/dist-packages/Brlapi-0.5.4.egg-info | debian/tmp/usr/local/lib/python2.6/dist-packages/brlapi.soErr, looks like an issue with the setup and Extension packages. All brltty does is to run python setup.py --quiet install --skip-build --record installed-files --root the_install_root With python2.5, this installs in the_install_root/usr/lib/python2.5/site-packages/brlapi.so while with python2.6, this installs in the_install_root/usr/local/lib/python2.6/dist-packages/brlapi.so Is that an expected change of behavior in python2.6?
Yes, that's expected: http://lists.debian.org/debian-devel/2009/02/msg00431.html ("Local installation path").
If have noticed that there is a --install-layout option to which we can pass deb instead of the new value unix. Is that what has changed and that we should just use?
Yes. Note however, that this option is Debian-specific and not available in python releases prior to 2.5.4.
A more (back)portable way to handle this is to conditionally include /usr/share/python/python.mk and use $(py_setup_install_args).
-- Jakub Wilk
signature.asc
Description: Digital signature