aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Rename _distutils_importer to _distutils_hack, as it supplies more than just ↵Jason R. Coombs2020-07-261-1/+1
| | | | an importer.
* Consolidate distutils importing hacks into _distutils_importer package. ↵Jason R. Coombs2020-07-191-2/+1
| | | | Generate distutils-precedence.pth inline.
* Clean up setuptools/__init__.py importsPaul Ganssle2020-07-131-4/+3
| | | | This puts non-distutils imports first and removes one unused import.
* Allow opt-in and opt-out of distutils adoption at run time with ↵distutils-adopt-escape-hatchJason R. Coombs2020-07-111-1/+1
| | | | SETUPTOOLS_USE_DISTUTILS environment variable.
* Disable adopted distutils while troubleshooting #2228 and #2230.Jason R. Coombs2020-07-031-1/+2
|
* Merge branch 'master' into distutilsJason R. Coombs2020-05-301-4/+21
|\
| * Merge tag 'v44.1.1'Jason R. Coombs2020-05-281-4/+21
| |\
| | * Avoid loading working set during `Distribution.finalize_options` prior to ↵Jason R. Coombs2020-05-281-4/+21
| | | | | | | | | | | | invoking `_install_setup_requires`, broken since v42.0.0. Fixes #2158.
* | | Move distutils import to a separate file to avoid linter errors.Jason R. Coombs2020-05-251-0/+3
|/ /
* | Extract method for normalization, allowing for bypass when the version is ↵Jason R. Coombs2020-03-151-0/+4
| | | | | | | | wrapped in 'sic'. Fixes #308.
* | Merge remote-tracking branch 'origin/master' into debt/remove-featuresJason R. Coombs2020-03-071-3/+4
|\ \
| * | 👹 Feed the hobgoblins (delint).Jason R. Coombs2020-01-191-2/+2
| | |
| * | 👹 Feed the hobgoblins (delint).Jason R. Coombs2020-01-191-3/+3
| |/
* / Remove the Features feature. Fixes #65.Jason R. Coombs2020-01-191-4/+3
|/ | | | This commit reverts e4460fad043f4fa0edc7b7e1eef0b209f4588fe5.
* Merge branch 'master' into fix_889_and_non-ascii_in_setup.cfg_take_2Jason R. Coombs2019-01-251-4/+38
|\
| * Add custom deprecation warning classesJunhan Huang2018-10-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | `DeprecationWarning` is not visible by default in the latest versions of CPython, so this switches the deprecation warnings in setuptools and pkg_resources over to custom classes derived from `Warning` instead. Fixes issue github issue #159 Co-authored-by: Junhan Huang <robin.j.huang@gmail.com> Co-authored-by: Marton Pono <marci93@gmail.com>
| * Rename find_namepaces_ns to find_namespace_packages (#1423)Carsten Klein2018-08-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix #1419 PEP420: add find_namespace: directive * fix #1419 PEP420: add find_namespace: directive to documentation * fix #1419 PEP420: add tests * fix #1419 PEP420: clean up code * fix #1419 PEP420: fix typo in documentation * fix #1419 PEP420: fix typo in documentation * fix #1419 PEP420: clean up code * fix #1419 PEP420: add changelog entry * fixup! fix #1419 PEP420: add tests * fix #1419 PEP420: cleanup code refactor markers * #1420: Rename find_namespace_ns to find_namespace_packages * #1420: update changelog entry
| * Add find_packages_ns()Carsten Klein2018-07-041-1/+10
| | | | | | | | | | This fixes GH #97 by introducing an alternate version of find_packages that works with PEP 420 namespace packages.
| * Use Python 3 syntax for new-style clasessJason R. Coombs2018-06-031-1/+3
| |
| * support `setup_requires` in setup.cfgBenoit Pierre2017-10-161-1/+21
| |
* | improve encoding handling for `setup.cfg`Benoit Pierre2017-10-251-0/+34
|/ | | | | | | | Support the same mechanism as for Python sources for declaring the encoding to be used when reading `setup.cfg` (see PEP 263), and return the results of reading it as Unicode. Fix #1062 and #1136.
* Revert "Merge pull request #933 from pypa/feature/581-depend-not-bundle"Jason R. Coombs2017-02-241-1/+1
| | | | | This reverts commit 089cdeb489a0fa94d11b7307b54210ef9aa40511, reversing changes made to aaec654d804cb78dbb6391afff721a63f26a71cd.
* Merge with masterJason R. Coombs2017-01-161-1/+1
|\
| * Remove unused importsJason R. Coombs2017-01-161-1/+1
| |
* | Strip out vendored packages and require them instead. Ref #581.Jason R. Coombs2017-01-011-1/+1
|/
* Fix quantity of blank lines.stepshal2016-10-181-1/+0
|
* Find nested packages with excluded parentTim Heap2016-10-051-6/+10
| | | | | | | `find_packages(exclude=['pkg'])` should still find and include the `pkg.subpkg` package. Fixes #808
* Do not search excluded directories for packagesTim Heap2016-09-221-48/+35
| | | | | | | | | | Previously, PackageFinder.find would search the whole directory tree looking for packages, then remove excluded packages from this list. This made building a package very slow under some circumstances where the file tree was large. This change stops PackageFinder.find from descending in to directories that will never be included.
* Remove private prefix from monkey as monkey module explicitly declares that ↵Jason R. Coombs2016-09-041-1/+1
| | | | all functions are private.
* Move monkeypatching in package module into monkey.Jason R. Coombs2016-09-041-35/+3
|
* Introduce a new monkey module to encapsulate the monkeypatching.Jason R. Coombs2016-09-041-3/+3
|
* Provide forward compatibility for Warehouse as the default repository for ↵Jason R. Coombs2016-09-011-0/+17
| | | | the upload command.
* Only apply findall patch on affected Pythons.Jason R. Coombs2016-09-011-3/+13
|
* Add missing blank lines after class or function definition.stepshal2016-07-211-0/+2
|
* Fix quantity of blank lines after code object.stepshal2016-07-131-0/+4
|
* Always use Python 3 version of mapJason R. Coombs2016-01-161-1/+1
|
* Modeling after Astropy's technique for bundling libraries, the imports are ↵Jason R. Coombs2015-12-311-6/+1
| | | | | | | now much cleaner. Thanks @embray. Ref #229. --HG-- branch : feature/issue-229
* Update vendoring technique to match that used for packaging. Ref #229.Jason R. Coombs2015-12-311-3/+6
| | | | | --HG-- branch : feature/issue-229
* Merge with master. Ref #229.Jason R. Coombs2015-12-311-25/+44
|\ | | | | | | | | --HG-- branch : feature/issue-229
| * Only return results that are files. Fixes failing test and corrects ↵Jason R. Coombs2015-09-191-1/+2
| | | | | | | | additional regression in 18.3.
| * Another refactor of findall, this time separating the simple walk / join ↵Jason R. Coombs2015-09-071-11/+18
| | | | | | | | operation from the conditional relative path.
| * Restore old behavior for calculating the base. Fixes failing test and fixes ↵Jason R. Coombs2015-09-061-1/+3
| | | | | | | | #425.
| * MergeJason R. Coombs2015-09-061-2/+3
| |\
| | * Update docstring and test to match long-standing expectation in behavior.Jason R. Coombs2015-09-061-2/+3
| | |
| * | Use relpath to produce results relative to 'dir'Jason R. Coombs2015-08-301-8/+3
| | |
| * | Replace initialize/inject loop with a list comprehensionJason R. Coombs2015-08-301-9/+16
| | |
| * | Add reference to bug reportJason R. Coombs2015-08-301-1/+1
| | |
| * | Prefer preceding line commentsJason R. Coombs2015-08-301-2/+4
| | |
| * | Allow dict.update to do the iterationJason R. Coombs2015-08-301-2/+1
| | |
| * | Replace comment with docstring. Fixes #423Jason R. Coombs2015-08-301-1/+4
| | |