diff options
author | Georg Brandl <georg@python.org> | 2013-05-12 12:36:07 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2013-05-12 12:36:07 +0200 |
commit | 900055b1dba8c7c638319989d725486bee4f40e8 (patch) | |
tree | 0401545c7963366023eaf93ccdc98dadd70adbbf /Doc/install | |
parent | 39e7a7ee0710ee9e27d1d2afc1405ef032f440ec (diff) | |
download | cpython-900055b1dba8c7c638319989d725486bee4f40e8.tar.gz |
Closes issue #17732: ignore install-directory specific options in
distutils.cfg when a venv is active.
Diffstat (limited to 'Doc/install')
-rw-r--r-- | Doc/install/index.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/install/index.rst b/Doc/install/index.rst index e0c5c16aec..e595309da9 100644 --- a/Doc/install/index.rst +++ b/Doc/install/index.rst @@ -645,6 +645,11 @@ environment variables, such as Mac OS 9, the configuration variables supplied by the Distutils are the only ones you can use.) See section :ref:`inst-config-files` for details. +.. note:: When a :ref:`virtual environment <venv-def>` is activated, any options + that change the installation path will be ignored from all distutils configuration + files to prevent inadvertently installing projects outside of the virtual + environment. + .. XXX need some Windows examples---when would custom installation schemes be needed on those platforms? |