summaryrefslogtreecommitdiff
path: root/setuptools/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Add interfaces to docsAnderson Bravalheri2022-06-251-1/+1
|
* Add docstrings for command classesAnderson Bravalheri2022-06-241-1/+59
|
* Decrease verbosity of _install_setup_requiresAnderson Bravalheri2022-03-271-0/+8
|
* Add back convert_path as deprecated functionAnderson Bravalheri2022-03-251-0/+15
|
* Prevent setup_requires patches from activating auto-discoveryAnderson Bravalheri2022-03-191-0/+2
|
* Move *PackageFinder to the new 'discovery' moduleAnderson Bravalheri2022-03-051-81/+1
| | | | | | | | | Following up the discussion in #2887 and #2329, it seems that setuptools is moving towards more automatic discovery features. PackageFinder and PEP420PackageFinder are fundamental pieces of this puzzle and grouping together them togheter with the code implementing these new discovery features make a lot of sense.
* Use super()谭九鼎2022-01-261-2/+2
|
* Add setuptools.log to supersede distutils.log. Ref #2973.Jason R. Coombs2021-12-281-0/+2
|
* Reduce scope of setup_requires deprecation to only deprecate the ↵feature/deprecate-installerJason R. Coombs2021-11-141-6/+0
| | | | installation of these requirements, but still honor setup_requires in PEP 517 installers. Fixes #2877.
* Emit a SetuptoolsDeprecationWarning when setup_requires is used. Ref #2823.debt/deprecate-setup-requiresJason R. Coombs2021-10-221-0/+6
|
* remove lib2to3 usageThomas Grainger2021-09-041-21/+22
|
* Remove Python 2 compatibilityJason R. Coombs2020-08-161-15/+5
|
* 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