1. Tarek Ziadé
  2. distribute
  3. Issues
Issue #254 new

Documentation for configuring user local easy_install directories causes pain for vanilla distutils

Toshio Kuratomi
created an issue


The advice there is to modify distutils.cfg to cause easy_install to install packages into a local directory. However, this means that if someone else wants to install to site-packages, they're unable to.

Someone was trying to build a system package and ran across this as

python setup.py install --root %{buildroot} --prefix = /usr

failed to override the setting in distutils.cfg and so the package was installed in the distutils.cfg listed directory instead. Better ways to do this might include documenting virtualenv, documenting using --prefix ~/.local (per PEP 370), or, in code, creating a separate /etc/easy_install.cfg file.