[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 636ca313b2)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2023-08-16 16:20:49 -07:00 committed by GitHub
parent 277bf80238
commit 589bc198d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -811,8 +811,8 @@ conflict.
Defines the :data:`user base directory <site.USER_BASE>`, which is used to 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>` compute the path of the :data:`user site-packages directory <site.USER_SITE>`
and :ref:`Distutils installation paths <inst-alt-install-user>` for and :ref:`installation paths <inst-alt-install-user>` for
``python setup.py install --user``. ``python -m pip install --user``.
.. seealso:: .. seealso::

View file

@ -592,8 +592,8 @@ works on Mac OS X.
.IP PYTHONUSERBASE .IP PYTHONUSERBASE
Defines the user base directory, which is used to compute the path of the user Defines the user base directory, which is used to compute the path of the user
.IR site-packages .IR site-packages
directory and Distutils installation paths for directory and installation paths for
.IR "python setup\.py install \-\-user" . .IR "python \-m pip install \-\-user" .
.IP PYTHONPROFILEIMPORTTIME .IP PYTHONPROFILEIMPORTTIME
If this environment variable is set to a non-empty string, Python will 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 show how long each import takes. This is exactly equivalent to setting