summaryrefslogtreecommitdiff
path: root/setuptools/command
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'main' into debt/remove-legacy-versiondebt/remove-legacy-versionJason R. Coombs2021-11-145-5/+52
|\
| * Use warning instead of log for distutils commandAnderson Bravalheri2021-11-051-2/+3
| | | | | | | | | | As discussed in #2855, using an actual warning instead of the logger allow users to control what gets displayed via warning filters.
| * Handle custom build_py inheriting from distutilsAnderson Bravalheri2021-11-041-1/+9
| | | | | | | | | | | | | | | | | | According to #2849, some projects, including important data-science packages rely on `distutils` when creating custom commands, instead of extending the ones provided by setuptools. This change should accomodate this use case, while also warning the users to migrate.
| * Remove data_files avoidance code.Jason R. Coombs2021-11-021-3/+0
| |
| * Reformat docstring and rewrite in imperative voice.Jason R. Coombs2021-11-021-4/+5
| |
| * Fix 1461: Better loop breaker for `manifest_maker`Anderson Bravalheri2021-11-013-5/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The inconsistency for the `package_data` configuration in sdists when `include_package_data=True` in #1461 have been causing some problems for the community for a while, as also shown in #2835. As pointed out by [@jaraco](https://github.com/pypa/setuptools/issues/1461#issuecomment-749092366), this was being caused by a mechanism to break the recursion between the `egg_info` and `sdist` commands. In summary the loop is caused by the following behaviour: - the `egg_info` command uses a subclass of `sdist` (`manifest_maker`) to calculate the MANIFEST, - the `sdist` class needs to know the MANIFEST to calculate the data files when `include_package_data=True` Previously, the mechanism to break this loop was to simply ignore the data files in `sdist` when `include_package_data=True`. The approach implemented in this change was to replace this mechanism, by allowing `manifest_maker` to override the `_safe_data_files` method from `sdist`. --- Please notice [an extensive experiment] (https://github.com/abravalheri/experiment-setuptools-package-data) was carried out to investigate the previous confusing behaviour. There is also [a simplified theoretical analysis] (https://github.com/pyscaffold/pyscaffold/pull/535#issuecomment-956296407) comparing the observed behavior in the experiment and the expected one. This analysis point out to the same offender indicated by [@jaraco](https://github.com/pypa/setuptools/issues/1461#issuecomment-749092366) (which is being replaced in this change).
| * Deprecate setup.py install and easy_install. Ref #917.Jason R. Coombs2021-10-222-0/+13
| |
* | Merge branch 'main' into debt/remove-legacy-versionJason R. Coombs2021-10-2214-462/+270
|\ \ | |/
| * Merge pull request #2758 from nsait-linaro/win_arm64_launchersJason R. Coombs2021-10-011-1/+4
| |\ | | | | | | Fixes 2757: Add win/arm64 launchers to create arm64 executables
| | * Fix linting errorsNiyas Sait2021-09-061-1/+0
| | |
| | * use distutils.util.get_platform to find the target platformNiyas Sait2021-08-261-1/+1
| | | | | | | | | | | | This will be required to support cross compilation
| | * add win/arm64 launchersNiyas Sait2021-08-261-1/+5
| | |
| * | sdist: Accept -u/--owner and -g/--group optionsJohn Marshall2021-09-221-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Controlling the file ownership recorded in tar archives is useful for those striving towards reproducible builds. These options are already understood by distutils.command.sdist.sdist, so just need to be accepted by setuptools.command.sdist.sdist to be propagated. Fixes #1893.
| * | Merge pull request #2785 from hugovk/replace-configparser-deprecationsJason R. Coombs2021-09-121-1/+1
| |\ \ | | | | | | | | configparser: replace deprecated readfp with read_file
| | * | configparser: replace deprecated readfp with read_fileHugo van Kemenade2021-09-121-1/+1
| | | |
| * | | Deprecate bdist_rpmHugo van Kemenade2021-09-091-0/+9
| |/ /
| * | Retain case in setup.cfg during sdist. Fixes #2773.Jason R. Coombs2021-09-081-0/+1
| | |
| * | 👹 Feed the hobgoblins (delint).Jason R. Coombs2021-09-041-1/+0
| | |
| * | remove lib2to3 usageThomas Grainger2021-09-043-113/+49
| |/
| * Fix broken links in easy_install.pySeungMin Lee2021-07-201-3/+3
| |
| * Fixes #2722: Adds an environment variable SETUPTOOLS_EXT_SUFFIX to override ↵Steve Dower2021-07-101-3/+9
| | | | | | | | the suffix inferred from the host Python runtime.
| * Merge branch 'main' into feature/more-itertoolsJason R. Coombs2021-05-222-47/+8
| |\
| | * Overwrite exlude from MANIFEST with license_files optionMarc Mueller2021-05-231-1/+1
| | | | | | | | | | | | | | | * needed for 'License-File' metadata, as this is written before MANIFEST is read
| | * Remove license_files_computed fieldMarc Mueller2021-05-231-1/+1
| | |
| | * Add License-File field to package metadataMarc Mueller2021-05-232-47/+8
| | |
| * | Use unique_everseen from more_itertools.Jason R. Coombs2021-05-222-22/+4
| |/
| * Move list of commands out of command package and into package metadata.Jason R. Coombs2021-05-191-9/+0
| |
| * Small changesMarc Mueller2021-04-031-0/+3
| |
| * Change deprecation warningMarc Mueller2021-04-031-4/+3
| |
| * license_files - Add support for glob patterns + add default patternsMarc Mueller2021-04-031-21/+32
| |
| * Merge pull request #2566 from hroncok/remove_bdist_wininstJason R. Coombs2021-03-303-32/+3
| |\ | | | | | | Remove bdist_wininst, Filter out distutils deprecation
| | * Remove bdist_wininstMiro Hrončok2021-03-083-32/+3
| | | | | | | | | | | | Fixes https://github.com/pypa/setuptools/issues/2558
| * | remove duplicate wordJürgen Gmach2021-03-241-1/+1
| |/
| * Modify existing tests to be compatible with future underscore changeMelissa Li2021-03-021-1/+1
| |
| * Update fix and documentationMelissa Li2021-02-191-6/+3
| |
| * Fix sphinx upload_docsMelissa Li2021-02-191-2/+5
| |
| * Remove 'main' function from 'easy_install'.Jason R. Coombs2021-01-231-45/+1
| |
| * Remove eggsecutablefeature/remove-eggsecutableJason R. Coombs2021-01-202-57/+2
| |
| * Revert "Merge pull request #2533 from pypa/fix/2529"Jason R. Coombs2021-01-161-6/+4
| | | | | | | | | | This reverts commit ef457b2e4eb215ab9d730afbd61a10ed3b118d3c, reversing changes made to d2b1f7ebd6ebd57b4a50bc6660e93b31129bacb4.
| * Merge pull request #2518 from webknjaz/maintenance/flake8-mccabe-complexityJason R. Coombs2021-01-163-137/+168
| |\ | | | | | | Enable McCabe complexity check in flake8
| | * Apply noqa C901 comments to overly complex codeSviatoslav Sydorenko2020-12-313-9/+14
| | |
| | * Simplify `egg_info.FileList.process_template_line`Sviatoslav Sydorenko2020-12-311-61/+66
| | |
| | * Simplify `command.easy_install.expand_paths`Sviatoslav Sydorenko2020-12-311-7/+12
| | |
| | * Simplify `command.easy_install.get_site_dirs`Sviatoslav Sydorenko2020-12-311-38/+43
| | |
| | * Simplify `easy_install.update_pth`Sviatoslav Sydorenko2020-12-311-16/+20
| | |
| | * Simplify `easy_install.install_eggs`Sviatoslav Sydorenko2020-12-311-6/+13
| | |
| * | Correctly handle normalized tagsfix/2529Dustin Ingram2021-01-151-4/+6
| |/
* | egg_info: avoid non-PEP440 versions from tag_dateChih-Hsuan Yen2020-12-251-1/+1
|/
* Merge pull request #2413 from graingert/ignore-any-exception-loading2to3Jason R. Coombs2020-10-141-1/+1
|\ | | | | ignore any exception when loading 2to3
| * ignore any exception when loading 2to3Thomas Grainger2020-10-041-1/+1
| |