Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Honor sysconfig variables in easy_install. Fixes #3026.bugfix/3026-sysconfig-vars-in-easy-install | Jason R. Coombs | 2022-01-12 | 1 | -8/+8 |
| | |||||
* | fix version parsing | liuzhe | 2022-01-07 | 1 | -2/+2 |
| | |||||
* | Use 'dict()' instead of '.copy()', for compatibility with DictStack. | Jason R. Coombs | 2022-01-03 | 1 | -1/+1 |
| | |||||
* | Select 'posix_user' for the scheme unless falling back to stdlib, then use ↵ | Jason R. Coombs | 2021-12-20 | 1 | -2/+2 |
| | | | | 'unix_user'. Fixes #2938. | ||||
* | Add fallback support for distutils in stdlib. | Jason R. Coombs | 2021-12-20 | 1 | -3/+11 |
| | |||||
* | In easy_install, re-use scheme selection from distutils if available. | Jason R. Coombs | 2021-12-20 | 1 | -8/+5 |
| | |||||
* | Update setuptools.readthedocs.io to setuptools.pypa.io | Hugo van Kemenade | 2021-11-16 | 1 | -3/+3 |
| | |||||
* | Use warning instead of log for distutils command | Anderson Bravalheri | 2021-11-05 | 1 | -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 distutils | Anderson Bravalheri | 2021-11-04 | 1 | -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. Coombs | 2021-11-02 | 1 | -3/+0 |
| | |||||
* | Reformat docstring and rewrite in imperative voice. | Jason R. Coombs | 2021-11-02 | 1 | -4/+5 |
| | |||||
* | Fix 1461: Better loop breaker for `manifest_maker` | Anderson Bravalheri | 2021-11-01 | 3 | -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. Coombs | 2021-10-22 | 2 | -0/+13 |
| | |||||
* | Merge pull request #2758 from nsait-linaro/win_arm64_launchers | Jason R. Coombs | 2021-10-01 | 1 | -1/+4 |
|\ | | | | | Fixes 2757: Add win/arm64 launchers to create arm64 executables | ||||
| * | Fix linting errors | Niyas Sait | 2021-09-06 | 1 | -1/+0 |
| | | |||||
| * | use distutils.util.get_platform to find the target platform | Niyas Sait | 2021-08-26 | 1 | -1/+1 |
| | | | | | | | | This will be required to support cross compilation | ||||
| * | add win/arm64 launchers | Niyas Sait | 2021-08-26 | 1 | -1/+5 |
| | | |||||
* | | sdist: Accept -u/--owner and -g/--group options | John Marshall | 2021-09-22 | 1 | -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-deprecations | Jason R. Coombs | 2021-09-12 | 1 | -1/+1 |
|\ \ | | | | | | | configparser: replace deprecated readfp with read_file | ||||
| * | | configparser: replace deprecated readfp with read_file | Hugo van Kemenade | 2021-09-12 | 1 | -1/+1 |
| | | | |||||
* | | | Deprecate bdist_rpm | Hugo van Kemenade | 2021-09-09 | 1 | -0/+9 |
|/ / | |||||
* | | Retain case in setup.cfg during sdist. Fixes #2773. | Jason R. Coombs | 2021-09-08 | 1 | -0/+1 |
| | | |||||
* | | 👹 Feed the hobgoblins (delint). | Jason R. Coombs | 2021-09-04 | 1 | -1/+0 |
| | | |||||
* | | remove lib2to3 usage | Thomas Grainger | 2021-09-04 | 3 | -113/+49 |
|/ | |||||
* | Fix broken links in easy_install.py | SeungMin Lee | 2021-07-20 | 1 | -3/+3 |
| | |||||
* | Fixes #2722: Adds an environment variable SETUPTOOLS_EXT_SUFFIX to override ↵ | Steve Dower | 2021-07-10 | 1 | -3/+9 |
| | | | | the suffix inferred from the host Python runtime. | ||||
* | Merge branch 'main' into feature/more-itertools | Jason R. Coombs | 2021-05-22 | 2 | -47/+8 |
|\ | |||||
| * | Overwrite exlude from MANIFEST with license_files option | Marc Mueller | 2021-05-23 | 1 | -1/+1 |
| | | | | | | | | | | * needed for 'License-File' metadata, as this is written before MANIFEST is read | ||||
| * | Remove license_files_computed field | Marc Mueller | 2021-05-23 | 1 | -1/+1 |
| | | |||||
| * | Add License-File field to package metadata | Marc Mueller | 2021-05-23 | 2 | -47/+8 |
| | | |||||
* | | Use unique_everseen from more_itertools. | Jason R. Coombs | 2021-05-22 | 2 | -22/+4 |
|/ | |||||
* | Move list of commands out of command package and into package metadata. | Jason R. Coombs | 2021-05-19 | 1 | -9/+0 |
| | |||||
* | Small changes | Marc Mueller | 2021-04-03 | 1 | -0/+3 |
| | |||||
* | Change deprecation warning | Marc Mueller | 2021-04-03 | 1 | -4/+3 |
| | |||||
* | license_files - Add support for glob patterns + add default patterns | Marc Mueller | 2021-04-03 | 1 | -21/+32 |
| | |||||
* | Merge pull request #2566 from hroncok/remove_bdist_wininst | Jason R. Coombs | 2021-03-30 | 3 | -32/+3 |
|\ | | | | | Remove bdist_wininst, Filter out distutils deprecation | ||||
| * | Remove bdist_wininst | Miro Hrončok | 2021-03-08 | 3 | -32/+3 |
| | | | | | | | | Fixes https://github.com/pypa/setuptools/issues/2558 | ||||
* | | remove duplicate word | Jürgen Gmach | 2021-03-24 | 1 | -1/+1 |
|/ | |||||
* | Modify existing tests to be compatible with future underscore change | Melissa Li | 2021-03-02 | 1 | -1/+1 |
| | |||||
* | Update fix and documentation | Melissa Li | 2021-02-19 | 1 | -6/+3 |
| | |||||
* | Fix sphinx upload_docs | Melissa Li | 2021-02-19 | 1 | -2/+5 |
| | |||||
* | Remove 'main' function from 'easy_install'. | Jason R. Coombs | 2021-01-23 | 1 | -45/+1 |
| | |||||
* | Remove eggsecutablefeature/remove-eggsecutable | Jason R. Coombs | 2021-01-20 | 2 | -57/+2 |
| | |||||
* | Revert "Merge pull request #2533 from pypa/fix/2529" | Jason R. Coombs | 2021-01-16 | 1 | -6/+4 |
| | | | | | This reverts commit ef457b2e4eb215ab9d730afbd61a10ed3b118d3c, reversing changes made to d2b1f7ebd6ebd57b4a50bc6660e93b31129bacb4. | ||||
* | Merge pull request #2518 from webknjaz/maintenance/flake8-mccabe-complexity | Jason R. Coombs | 2021-01-16 | 3 | -137/+168 |
|\ | | | | | Enable McCabe complexity check in flake8 | ||||
| * | Apply noqa C901 comments to overly complex code | Sviatoslav Sydorenko | 2020-12-31 | 3 | -9/+14 |
| | | |||||
| * | Simplify `egg_info.FileList.process_template_line` | Sviatoslav Sydorenko | 2020-12-31 | 1 | -61/+66 |
| | | |||||
| * | Simplify `command.easy_install.expand_paths` | Sviatoslav Sydorenko | 2020-12-31 | 1 | -7/+12 |
| | | |||||
| * | Simplify `command.easy_install.get_site_dirs` | Sviatoslav Sydorenko | 2020-12-31 | 1 | -38/+43 |
| | | |||||
| * | Simplify `easy_install.update_pth` | Sviatoslav Sydorenko | 2020-12-31 | 1 | -16/+20 |
| | |