aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools
Commit message (Collapse)AuthorAgeFilesLines
* Expect test to fail on PyPy due to implicit import during startup.Jason R. Coombs2020-08-081-0/+4
|
* Remove expected fail.Jason R. Coombs2020-08-081-1/+4
|
* Merge branch 'master' into distutils-import-hackJason R. Coombs2020-08-086-5/+108
|\
| * On Windows, SYSTEMROOT must be supplied.Jason R. Coombs2020-08-081-2/+5
| |
| * Bypass pytest-virtualenv due to bugs in 'run' command. Instead, use ↵Jason R. Coombs2020-08-082-18/+31
| | | | | | | | jaraco.envs.VirtualEnv and build a bespoke fixture with a run command.
| * Support Python 3.5 and 3.6 in the tests.Jason R. Coombs2020-08-081-1/+12
| |
| * Add tests capturing expected distutils behavior. Ref #417.Jason R. Coombs2020-08-081-0/+37
| |
| * Merge pull request #2294 from radarhere/patch-1Jason R. Coombs2020-08-021-1/+1
| |\ | | | | | | Fixed typo
| | * Fixed typoAndrew Murray2020-08-011-1/+1
| | |
| * | Merge branch 'clean' of https://github.com/pypa/distutils into masterJason R. Coombs2020-08-023-4/+43
| |/
* | Rename _distutils_importer to _distutils_hack, as it supplies more than just ↵Jason R. Coombs2020-07-262-5/+5
| | | | | | | | an importer.
* | Consolidate distutils importing hacks into _distutils_importer package. ↵Jason R. Coombs2020-07-192-63/+1
| | | | | | | | Generate distutils-precedence.pth inline.
* | Revert "Remove warnings"Paul Ganssle2020-07-131-1/+18
| | | | | | | | This reverts commit 30b883f0b8071a3b1472c884574f38ce0128e457.
* | Clean up setuptools/__init__.py importsPaul Ganssle2020-07-131-4/+3
| | | | | | | | This puts non-distutils imports first and removes one unused import.
* | Adjust distutils shim when removing _distutils_importerPaul Ganssle2020-07-131-3/+16
| |
* | Remove warningsPaul Ganssle2020-07-131-18/+1
|/ | | | With the new `.pth` file, these warnings are no longer necessary.
* Warn the user when distutils is present to discourage this usage and direct ↵Jason R. Coombs2020-07-121-1/+18
| | | | users to the recommended usage. Closes #2230.
* Merge pull request #2251 from pypa/bugfix/2212-distutils-spawn-raceJason R. Coombs2020-07-122-10/+6
|\ | | | | Fix race in spawn
| * Merge branch 'clean' of https://github.com/pypa/distutilsJason R. Coombs2020-07-122-10/+6
| |
* | Change exec_module to load_moduleAlex Henrie2020-07-112-2/+2
|/ | | | Fixes #2246
* Allow opt-in and opt-out of distutils adoption at run time with ↵distutils-adopt-escape-hatchJason R. Coombs2020-07-112-3/+4
| | | | SETUPTOOLS_USE_DISTUTILS environment variable.
* Provide escape hatch for distutils adoption.Jason R. Coombs2020-07-101-1/+10
|
* Merge commit 'bbe8e80bcbafff8cf3d135d17a8526c8ac5f4b27' of ↵Jason R. Coombs2020-07-0818-46/+120
| | | | https://github.com/pypa/distutils into refresh-distutils
* Merge branch 'master' into bugfix/2228-spawn-missingJason R. Coombs2020-07-051-1/+2
|\
| * Disable adopted distutils while troubleshooting #2228 and #2230.Jason R. Coombs2020-07-031-1/+2
| |
* | Merge https://github.com/pypa/distutils into HEADJason R. Coombs2020-07-052-3/+14
|/
* Merge branch 'master' into 2020-06-11-raise-fromJason R. Coombs2020-07-03120-148/+24167
|\
| * Merge pull request #2166 from pypa/bugfix/2165-remove-site-pyJason R. Coombs2020-07-034-127/+2
| |\ | | | | | | Remove site.py hack
| | * Setuptools no longer installs a site.py file during easy_install or develop ↵Jason R. Coombs2020-05-294-127/+2
| | | | | | | | | | | | installs. Ref #2165.
| * | Merge pull request #2143 from pypa/distutilsJason R. Coombs2020-07-03114-17/+24155
| |\ \ | | | | | | | | Adopt distutils
| | * | 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-03110-15/+24100
| | | |
| | * | catch some resource leaksmattip2020-07-022-16/+23
| | | |
| | * | fix test for deprecation warningmattip2020-07-021-1/+1
| | | |
| | * | 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
| | | |
| | * | Merge branch 'master' into distutilsJason R. Coombs2020-05-302-10/+23
| | |\|
| | * | 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-252-0/+18
| | | |
| * | | Use importlib instead of imp in __bootstrap__ functionsAlex Henrie2020-06-212-4/+7
| | | |
| * | | Restore __requires__ directive for compatibility. Fixes #2198.Jason R. Coombs2020-06-161-0/+3
| | | |
* | | | Fix exception causes all over the codebaseRam Rachum2020-06-288-32/+41
|/ / /
* | | Merge pull request #1973 from jdufresne/makedirsJason R. Coombs2020-06-155-12/+7
|\ \ \ | | | | | | | | Remove pkg_resources.py31compat.makedirs() in favor of the stdlib
| * | | Remove pkg_resources.py31compat.makedirs() in favor of the stdlibJon Dufresne2020-02-165-12/+7
| | | | | | | | | | | | | | | | | | | | As setuptools is now python 3.5+, this compatibility shim is no longer necessary.
* | | | Merge pull request #2189 from cool-RR/2020-06-11-raise-fromJason R. Coombs2020-06-151-6/+6
|\ \ \ \ | | | | | | | | | | Fix exception causes in package_index.py
| * | | | Fix exception causes in package_index.pyRam Rachum2020-06-111-6/+6
| | |_|/ | |/| |
* | | | Unify the entry point template.Jason R. Coombs2020-06-151-25/+29
| | | |
* | | | Fix entry point scriptsOfek Lev2020-06-151-1/+1
| | | |
* | | | Make a few assertions about the entry point script rather than keeping a ↵Jason R. Coombs2020-06-151-31/+7
| | | | | | | | | | | | | | | | fully-rendered copy.