Public bug reported:

In python2.6 2.6.1-1ubuntu1 on jaunty, distutils has been patched to
make a bare 'python setup.py install' use /usr/local instead of /usr
(distutils-install-layout.dpatch). The problem is that this also
prevents me from using distutils to install a python module to somewhere
like /opt/foo. If I run 'python setup.py install --prefix=/opt/foo', the
package is installed to /opt/foo/local.

A better solution might be to modify the default prefix to /usr/local
and make ubuntu packages override it.

** Affects: python2.6 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
distutils appends '/local' to to user-specified install prefix
https://bugs.launchpad.net/bugs/338395
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to