summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-08-16 23:20:49 (GMT)
committerGitHub <noreply@github.com>2023-08-16 23:20:49 (GMT)
commit589bc198d01aa8c128ad403cb0c9399689047a82 (patch)
tree82c48b647d5c6571a33455f5f5f470cad99f53c2
parent277bf80238c944f4edada9b5f1885e3567f5fc63 (diff)
downloadcpython-589bc198d01aa8c128ad403cb0c9399689047a82.zip
cpython-589bc198d01aa8c128ad403cb0c9399689047a82.tar.gz
cpython-589bc198d01aa8c128ad403cb0c9399689047a82.tar.bz2
[3.12] GH-92584: Remove references to Distutils in ``PYTHONUSERBASE`` (GH-108040) (#108060)
GH-92584: Remove references to Distutils in ``PYTHONUSERBASE`` (GH-108040) Remove references to Distutils in ``PYTHONUSERBASE`` (cherry picked from commit 636ca313b2f7ce09a311889995778dccae8ebe40) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
-rw-r--r--Doc/using/cmdline.rst4
-rw-r--r--Misc/python.man4
2 files changed, 4 insertions, 4 deletions
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst
index 4bf67eb..23c8940 100644
--- a/Doc/using/cmdline.rst
+++ b/Doc/using/cmdline.rst
@@ -811,8 +811,8 @@ conflict.
Defines the :data:`user base directory <site.USER_BASE>`, which is used to
compute the path of the :data:`user site-packages directory <site.USER_SITE>`
- and :ref:`Distutils installation paths <inst-alt-install-user>` for
- ``python setup.py install --user``.
+ and :ref:`installation paths <inst-alt-install-user>` for
+ ``python -m pip install --user``.
.. seealso::
diff --git a/Misc/python.man b/Misc/python.man
index bf7cf76..9f89c94 100644
--- a/Misc/python.man
+++ b/Misc/python.man
@@ -592,8 +592,8 @@ works on Mac OS X.
.IP PYTHONUSERBASE
Defines the user base directory, which is used to compute the path of the user
.IR site-packages
-directory and Distutils installation paths for
-.IR "python setup\.py install \-\-user" .
+directory and installation paths for
+.IR "python \-m pip install \-\-user" .
.IP PYTHONPROFILEIMPORTTIME
If this environment variable is set to a non-empty string, Python will
show how long each import takes. This is exactly equivalent to setting