]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
GH-92584: Remove references to Distutils in ``PYTHONUSERBASE`` (#108040)
authorAdam Turner <9087854+AA-Turner@users.noreply.github.com>
Wed, 16 Aug 2023 20:43:30 +0000 (21:43 +0100)
committerGitHub <noreply@github.com>
Wed, 16 Aug 2023 20:43:30 +0000 (22:43 +0200)
Remove references to Distutils in ``PYTHONUSERBASE``

Doc/using/cmdline.rst
Misc/python.man

index 4bf67eb439ec6c98ced666a7c1600a8e21a30c35..23c89400f152b15f5a2521d18e8a16e5fe52dd55 100644 (file)
@@ -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::
 
index bf7cf767d164a600efd2c088616bdb158caefd89..9f89c94adf5028477b89fdef548a9268c03e11c8 100644 (file)
@@ -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