setuptools installs into site-packages instead of dist-packages when --prefix is specified

Bug #808885 reported by Christian Hudon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-setuptools (Ubuntu)
New
Undecided
Unassigned

Bug Description

When installing a python package locally (--prefix=/usr/local) with setuptools, it is installed in the site-packages subdirectory instead of dist-packages. As the former is not on sys.path anymore (at least with lucid), the locally installed package doesn't load when imported.

This is similar to bug #362570, except for setuptools instead of stock python 2.6. Presumably changes similar to those that fix that bug need to be made to setuptools.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.