Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | * | | Revert "XXX: Debugging" | Andrey Bienkowski | 2022-03-06 | 1 | -37/+0 | |
| | | | | | | | | | | | | | | | | This reverts commit 6376ad10547315c15dfec719ff3f384e7a94dfc2. | |||||
| | * | | XXX: Debugging | Andrey Bienkowski | 2022-03-06 | 1 | -0/+37 | |
| | | | | ||||||
| * | | | Make install consider dist.run_command is overwritten in v61.0.0 | Anderson Bravalheri | 2022-03-25 | 1 | -8/+15 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Starting in v61, setuptools.dist overwrites distutils.dist.run_command to add auto-discovery functionality on top of the original implementation. This change modifies the existing code in setuptools.command.install to consider that previous change when trying to decide if the install command was called directly from `setup.py` or not. | |||||
| * | | | Add test for setup.py install and dependencies | Anderson Bravalheri | 2022-03-25 | 1 | -1/+3 | |
| |/ / | ||||||
| * | | Use super throughout. | Jason R. Coombs | 2022-02-27 | 1 | -2/+2 | |
| | | | ||||||
| * | | Just check for if destination file exists | Anderson Bravalheri | 2022-02-27 | 1 | -2/+3 | |
| | | | ||||||
| * | | Check for file existence before using samefile | Anderson Bravalheri | 2022-02-27 | 1 | -1/+2 | |
| | | | ||||||
| * | | Merge pull request #3137 from pypa/feature/samefile-native | Jason R. Coombs | 2022-02-26 | 1 | -18/+2 | |
| |\ \ | | | | | | | | | Use samefile from stdlib, supported on Windows since Python 3.2. | |||||
| | * | | Use samefile from stdlib, supported on Windows since Python 3.2. | Jason R. Coombs | 2022-02-26 | 1 | -18/+2 | |
| | | | | ||||||
| * | | | Extract method for processing site dirs | Jason R. Coombs | 2022-02-26 | 1 | -15/+22 | |
| | | | | ||||||
| * | | | Move normpath into if block. | Jason R. Coombs | 2022-02-26 | 1 | -3/+1 | |
| | | | | ||||||
| * | | | Remove 'isinstance(int)' check and just validate unconditionally. | Jason R. Coombs | 2022-02-26 | 1 | -3/+0 | |
| | | | | ||||||
| * | | | Extract method to validate optimize parameter. | Jason R. Coombs | 2022-02-26 | 1 | -9/+17 | |
| |/ / | ||||||
| * | | Prefer range().__contains__ for bounds check. | Jason R. Coombs | 2022-02-26 | 1 | -1/+1 | |
| | | | ||||||
| * | | Deprecated upload_docs command. Ref #2971 | Jason R. Coombs | 2022-02-17 | 1 | -0/+8 | |
| | | | ||||||
| * | | Prefer jaraco.text for yield_lines. | Jason R. Coombs | 2022-02-06 | 2 | -2/+5 | |
| | | | ||||||
| * | | Refactor _entry_points to separate loading from rendering. Explicitly ↵ | Jason R. Coombs | 2022-02-06 | 1 | -1/+2 | |
| | | | | | | | | | | | | validate and restore validation of entry points that don't match the pattern. | |||||
| * | | Extract module for entry point management. | Jason R. Coombs | 2022-02-06 | 1 | -38/+2 | |
| | | | ||||||
| * | | In test command, rely on metadata.EntryPoint for loading the value. | Jason R. Coombs | 2022-02-06 | 1 | -5/+4 | |
| | | | ||||||
| * | | In egg_info, port use of pkg_resources.EntryPoint to importlib.metadata | Jason R. Coombs | 2022-02-06 | 1 | -3/+11 | |
| | | | ||||||
| * | | Extract function for converting entry points to a string. | Jason R. Coombs | 2022-02-06 | 1 | -6/+14 | |
| | | | ||||||
| * | | Refactor to extract entry_points_definition generation. | Jason R. Coombs | 2022-02-06 | 1 | -16/+23 | |
| | | | ||||||
| * | | Refactor to construct data in a single expression and extract 'to_str'. | Jason R. Coombs | 2022-02-06 | 1 | -7/+9 | |
| | | | ||||||
| * | | Remove duplicate check on ep is None. | Jason R. Coombs | 2022-02-06 | 1 | -1/+1 | |
| | | | ||||||
| * | | Avoid dual-use variable. | Jason R. Coombs | 2022-02-06 | 1 | -3/+3 | |
| | | | ||||||
| * | | Migrate remainder of 'iter_entry_points' to importlib_metadata. | Jason R. Coombs | 2022-02-06 | 3 | -11/+14 | |
| | | | ||||||
* | | | Merge branch 'main' into debt/remove-legacy-version | Jason R. Coombs | 2022-02-12 | 5 | -36/+54 | |
|\ \ \ | |/ / | ||||||
| * | | Replace use of parse_requirements with simple constructor. | Jason R. Coombs | 2022-02-05 | 1 | -7/+3 | |
| | | | ||||||
| * | | Move ensure_directory into setuptools. | Jason R. Coombs | 2022-02-05 | 4 | -4/+8 | |
| |/ | ||||||
| * | Create a function for only_strs to help document its purpose. | Jason R. Coombs | 2022-02-01 | 1 | -3/+8 | |
| | | ||||||
| * | Skip non-string values from sysconfig.get_config_vars() | Dominic Davis-Foster | 2022-02-01 | 1 | -1/+3 | |
| | | ||||||
| * | Add py_version_nodot_plat substitution support to easy_install. | Jason R. Coombs | 2022-01-30 | 1 | -0/+6 | |
| | | ||||||
| * | Use super() | 谭九鼎 | 2022-01-26 | 1 | -1/+1 | |
| | | ||||||
| * | 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 | |
| | | ||||||
* | | Merge branch 'main' into debt/remove-legacy-versiondebt/remove-legacy-version | Jason R. Coombs | 2021-11-14 | 5 | -5/+52 | |
|\ \ | |/ | ||||||
| * | 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 branch 'main' into debt/remove-legacy-version | Jason R. Coombs | 2021-10-22 | 14 | -462/+270 | |
|\ \ | |/ | ||||||
| * | 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 | |
| | | |