summaryrefslogtreecommitdiffstats
path: root/Doc/using
diff options
context:
space:
mode:
authorSandro Mani <manisandro@gmail.com>2020-06-08 15:28:11 (GMT)
committerGitHub <noreply@github.com>2020-06-08 15:28:11 (GMT)
commit8f023a2f664f902a3d0b7a6f64d63afc0d1c15ae (patch)
tree8aa9027476167eca69c0e17ba8712f624bdb8e15 /Doc/using
parentc6b292cdeee689f0bfac6c1e2c2d4e4e01fa8d9e (diff)
downloadcpython-8f023a2f664f902a3d0b7a6f64d63afc0d1c15ae.zip
cpython-8f023a2f664f902a3d0b7a6f64d63afc0d1c15ae.tar.gz
cpython-8f023a2f664f902a3d0b7a6f64d63afc0d1c15ae.tar.bz2
bpo-40854: Allow overriding sys.platlibdir via PYTHONPLATLIBDIR env-var (GH-20605)
Diffstat (limited to 'Doc/using')
-rw-r--r--Doc/using/cmdline.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst
index b091195..3e07972 100644
--- a/Doc/using/cmdline.rst
+++ b/Doc/using/cmdline.rst
@@ -538,6 +538,14 @@ conflict.
within a Python program as the variable :data:`sys.path`.
+.. envvar:: PYTHONPLATLIBDIR
+
+ If this is set to a non-empty string, it overrides the :data:`sys.platlibdir`
+ value.
+
+ .. versionadded:: 3.10
+
+
.. envvar:: PYTHONSTARTUP
If this is the name of a readable file, the Python commands in that file are