This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nicksloan
Recipients eric.araujo, nicksloan, tarek
Date 2013-04-14.18:10:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1365963032.26.0.766714843383.issue17732@psf.upfronthosting.co.za>
In-reply-to
Content
When distutils.cfg defines an install-lib, it will be used within virtual environments created using venv as well, which makes it impossible to install things with setup.py or similar.

Steps to reproduce:

Create a distutils.cfg file and set a value for install-lib.

Create a virtual environment: $pyvenv myvenv

Activate that environment: $source myvenv/bin/activate

Attempt to install something: $python distribute_setup.py

It will attempt to install in the lib-install directory, and should fail with an error that the directory is not on the python path. This issue affects python3 from the mac homebrew project, which bundles a distutil.cfg, thus breaking pyvenv by default.
History
Date User Action Args
2013-04-14 18:10:32nicksloansetrecipients: + nicksloan, tarek, eric.araujo
2013-04-14 18:10:32nicksloansetmessageid: <1365963032.26.0.766714843383.issue17732@psf.upfronthosting.co.za>
2013-04-14 18:10:32nicksloanlinkissue17732 messages
2013-04-14 18:10:32nicksloancreate