[Distutils] Bizarre behaviour with --prefix

Floris Bruynooghe floris.bruynooghe at gmail.com
Fri Aug 7 21:02:52 CEST 2009

On Fri, Aug 07, 2009 at 06:21:34PM +0100, Josh Holland wrote:
> It seems that, without the --prefix option, the package suvatlib is
> being installed into dist-packages, while with --prefix=/usr, the
> package is going into site-packages.
> This is with python 2.6.2 on Ubuntu Karmic.

dist-packages is a Ubuntu/Debian extension.  The idea is that without
--prefix it installs in the sysadmin location.  And --prefix=/usr
should only be used when building a .dep package.


Debian GNU/Linux -- The Power of Freedom
www.debian.org | www.gnu.org | www.kernel.org

More information about the Distutils-SIG mailing list