diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-10-25 19:39:26 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-10-25 19:39:26 (GMT) |
commit | 3b2f0f045903ba9f24d92c053bd6d0fc8561973f (patch) | |
tree | d3bcca7df65ba9eab3136f66dd93b875cda70c54 /Doc/library/site.rst | |
parent | 79aa68dfc1ab4936107f9528d939e865f94da4b6 (diff) | |
download | cpython-3b2f0f045903ba9f24d92c053bd6d0fc8561973f.zip cpython-3b2f0f045903ba9f24d92c053bd6d0fc8561973f.tar.gz cpython-3b2f0f045903ba9f24d92c053bd6d0fc8561973f.tar.bz2 |
Issue #19375: The site module adding a "site-python" directory to sys.path, if it exists, is now deprecated.
Diffstat (limited to 'Doc/library/site.rst')
-rw-r--r-- | Doc/library/site.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/site.rst b/Doc/library/site.rst index 2175c3e..d93e938 100644 --- a/Doc/library/site.rst +++ b/Doc/library/site.rst @@ -38,6 +38,9 @@ Unix and Macintosh). For each of the distinct head-tail combinations, it sees if it refers to an existing directory, and if so, adds it to ``sys.path`` and also inspects the newly added path for configuration files. +.. deprecated:: 3.4 + Support for the "site-python" directory will be removed in 3.5. + If a file named "pyvenv.cfg" exists one directory above sys.executable, sys.prefix and sys.exec_prefix are set to that directory and it is also checked for site-packages and site-python (sys.base_prefix and |