-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow to decide whether to use distutils or sysconfig with sysconfig.…
…_PIP_USE_SYSCONFIG Fixes pypa#10647
- Loading branch information
Showing
3 changed files
with
45 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Allow Python distributors to opt-out from or opt-in to the ``sysconfig`` | ||
installation scheme backend. By default, the installation scheme backend is | ||
``sysconfig`` on Python 3.10 or later, but by setting the ``sysconfig._PIP_USE_SYSCONFIG`` | ||
the distributors can override this default: The boolean value of this private ``sysconfig`` | ||
attribute will take precedence over the default if set. | ||
This can be used for compatibility considerations as well as for opting in for more leading-edge | ||
technology if so desired. | ||
Distributors who set ``sysconfig._PIP_USE_SYSCONFIG = False`` are strongly encouraged to ensure ``distutils`` is present, | ||
e.g. it is not recommended to set this when ``distutils`` was removed from the standard library, as it will result in failures. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters