mirror of https://github.com/python/cpython
GH-92584: Remove references to Distutils in ``PYTHONUSERBASE`` (#108040)
Remove references to Distutils in ``PYTHONUSERBASE``
This commit is contained in:
parent
902864256c
commit
636ca313b2
|
@ -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…
Reference in New Issue