New submission from Nick Sloan: 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. ---------- assignee: eric.araujo components: Distutils messages: 186942 nosy: eric.araujo, nicksloan, tarek priority: normal severity: normal status: open title: distutils.cfg Can Break venv type: behavior versions: Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17732> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com