summaryrefslogtreecommitdiff
path: root/setuptools/distutils_patch.py
Commit message (Collapse)AuthorAgeFilesLines
* Ensure the module is named 'distutils'. Avoids errors when distutils.log and ↵Jason R. Coombs2020-07-031-0/+1
| | | | setuptools._distutils.log are two separate modules with separate state.
* Move distutils into a submodule of setuptools.Jason R. Coombs2020-07-031-15/+6
|
* Replace distutils rather than requiring it to be present in advanec. Instead ↵Jason R. Coombs2020-06-211-2/+13
| | | | of crashing, issue a warning when Setuptools is replacing distutils.
* Update setuptools/distutils_patch.pyJason R. Coombs2020-06-211-1/+1
| | | Co-authored-by: Steve Dower <steve.dower@microsoft.com>
* Extract function for ensure_local_distuilsJason R. Coombs2020-05-311-4/+6
|
* Update distutils patch to monkeypatch all paths from sys.path to ensure that ↵Jason R. Coombs2020-05-251-3/+17
| | | | distutils is never imported except from the same path as setuptools. Assert that 'distutils' is not already in sys.modules.
* Move distutils import to a separate file to avoid linter errors.Jason R. Coombs2020-05-251-0/+15