mirror of
https://github.com/python/cpython.git
synced 2025-08-17 15:21:26 +00:00
[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:
parent
277bf80238
commit
589bc198d0
2 changed files with 4 additions and 4 deletions
|
@ -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::
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue