Skip to content

Commit 589bc19

Browse files
[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 636ca31) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
1 parent 277bf80 commit 589bc19

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Doc/using/cmdline.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -811,8 +811,8 @@ conflict.
811811

812812
Defines the :data:`user base directory <site.USER_BASE>`, which is used to
813813
compute the path of the :data:`user site-packages directory <site.USER_SITE>`
814-
and :ref:`Distutils installation paths <inst-alt-install-user>` for
815-
``python setup.py install --user``.
814+
and :ref:`installation paths <inst-alt-install-user>` for
815+
``python -m pip install --user``.
816816

817817
.. seealso::
818818

Misc/python.man

+2-2
Original file line numberDiff line numberDiff line change
@@ -592,8 +592,8 @@ works on Mac OS X.
592592
.IP PYTHONUSERBASE
593593
Defines the user base directory, which is used to compute the path of the user
594594
.IR site-packages
595-
directory and Distutils installation paths for
596-
.IR "python setup\.py install \-\-user" .
595+
directory and installation paths for
596+
.IR "python \-m pip install \-\-user" .
597597
.IP PYTHONPROFILEIMPORTTIME
598598
If this environment variable is set to a non-empty string, Python will
599599
show how long each import takes. This is exactly equivalent to setting

0 commit comments

Comments
 (0)