summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-05-12 10:36:07 (GMT)
committerGeorg Brandl <georg@python.org>2013-05-12 10:36:07 (GMT)
commit521ed521317ffd385afaabdd889879e7cb7461df (patch)
treef53b513ccf4aa1b3ef6286730ba7b2a5fdf6aa6e /Doc/library
parentb3bd624a55ea5bf3a0e77cfa9d987d82ed23652f (diff)
downloadcpython-521ed521317ffd385afaabdd889879e7cb7461df.zip
cpython-521ed521317ffd385afaabdd889879e7cb7461df.tar.gz
cpython-521ed521317ffd385afaabdd889879e7cb7461df.tar.bz2
Closes issue #17732: ignore install-directory specific options in
distutils.cfg when a venv is active.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/venv.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/venv.rst b/Doc/library/venv.rst
index cd04808..dcea49f 100644
--- a/Doc/library/venv.rst
+++ b/Doc/library/venv.rst
@@ -57,6 +57,10 @@ Creating virtual environments
:attr:`sys.exec_prefix` is the same as :attr:`sys.base_exec_prefix` (they
all point to a non-venv Python installation).
+ When a venv is active, any options that change the installation path will be
+ ignored from all distutils configuration files to prevent projects being
+ inadvertently installed outside of the virtual environment.
+
API
---