Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 589bc19

Browse filesBrowse 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
Copy full SHA for 589bc19

File tree

Expand file treeCollapse file tree

2 files changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+4
-4
lines changed

‎Doc/using/cmdline.rst

Copy file name to clipboardExpand all lines: Doc/using/cmdline.rst
+2-2Lines changed: 2 additions & 2 deletions
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

Copy file name to clipboardExpand all lines: Misc/python.man
+2-2Lines changed: 2 additions & 2 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.