Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Apply suggestions from code review | Anderson Bravalheri | 2023-03-19 | 1 | -2/+2 |
| | | | Co-authored-by: Ed Morley <501702+edmorley@users.noreply.github.com> | ||||
* | Use new warnings in setuptools/command/build_py.py | Anderson Bravalheri | 2023-03-07 | 1 | -27/+45 |
| | |||||
* | Import SetuptoolsDeprecationWarning from setuptools.warnings | Anderson Bravalheri | 2023-03-06 | 1 | -1/+1 |
| | |||||
* | Filter out temporary source files from being added to sdist | Anderson Bravalheri | 2022-08-12 | 1 | -13/+20 |
| | |||||
* | Avoid mentioning project names in CHANGELOG | Anderson Bravalheri | 2022-08-11 | 1 | -1/+0 |
| | | | | ... since they may change implementantion | ||||
* | Filter external egg_info files | Anderson Bravalheri | 2022-08-11 | 1 | -3/+17 |
| | |||||
* | Revert addition of use_links to build_lib | Anderson Bravalheri | 2022-06-24 | 1 | -4/+2 |
| | |||||
* | Fix linting errors | Anderson Bravalheri | 2022-06-20 | 1 | -5/+2 |
| | |||||
* | Make it possible for build_py to export the output mapping | Anderson Bravalheri | 2022-06-19 | 1 | -8/+41 |
| | |||||
* | build_py: Allow get_outputs() to work without re-running egg-info | Anderson Bravalheri | 2022-06-18 | 1 | -3/+14 |
| | |||||
* | Add LinkTree strategy for build executable | Anderson Bravalheri | 2022-06-15 | 1 | -0/+11 |
| | |||||
* | Change warning about namespace packages and data files | Anderson Bravalheri | 2022-06-09 | 1 | -3/+4 |
| | | | | This follows a suggestion given by users to improve clarity. | ||||
* | Improve warning message for package data abuse | Anderson Bravalheri | 2022-06-05 | 1 | -5/+6 |
| | |||||
* | Update setuptools/command/build_py.py | Anderson Bravalheri | 2022-05-18 | 1 | -1/+1 |
| | | | Co-authored-by: Michał Górny <mgorny@gentoo.org> | ||||
* | Improve warning message for _IncludePackageDataAbuse | Anderson Bravalheri | 2022-05-18 | 1 | -1/+4 |
| | |||||
* | Warn about deprecation of behaviour that considers modules/packages as data ↵ | Anderson Bravalheri | 2022-05-16 | 1 | -2/+52 |
|\ | | | | | | | when include_package_data=True (#3308) | ||||
| * | Simplify checks for abuse of include_package_data | Anderson Bravalheri | 2022-05-06 | 1 | -19/+17 |
| | | | | | | | | | | | | | | Previously, the checks would result in a warning per module additionally to the parent package. Now only one warning per parent package is issued. | ||||
| * | Warn about packages/modules included as package data | Anderson Bravalheri | 2022-05-05 | 1 | -2/+54 |
| | | |||||
* | | Allow recursive globs for package_data | nullableVoidPtr | 2022-05-07 | 1 | -1/+2 |
|/ | |||||
* | Remove data_files avoidance code. | Jason R. Coombs | 2021-11-02 | 1 | -3/+0 |
| | |||||
* | Fix 1461: Better loop breaker for `manifest_maker` | Anderson Bravalheri | 2021-11-01 | 1 | -0/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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). | ||||
* | remove lib2to3 usage | Thomas Grainger | 2021-09-04 | 1 | -32/+12 |
| | |||||
* | Use unique_everseen from more_itertools. | Jason R. Coombs | 2021-05-22 | 1 | -20/+2 |
| | |||||
* | ignore any exception when loading 2to3 | Thomas Grainger | 2020-10-04 | 1 | -1/+1 |
| | |||||
* | Remove Python 2 compatibility | Jason R. Coombs | 2020-08-16 | 1 | -7/+1 |
| | |||||
* | When copying package data, make sure it's writable, but otherwise preserve ↵ | Jason R. Coombs | 2020-03-25 | 1 | -2/+7 |
| | | | | the mode. Fixes #2041. | ||||
* | 👹 Feed the hobgoblins (delint). | Jason R. Coombs | 2020-03-21 | 1 | -1/+2 |
| | |||||
* | Don't keep file modes for package data. | Dmitry Kuznetsov | 2018-12-12 | 1 | -1/+1 |
| | |||||
* | Revert "Merge pull request #933 from pypa/feature/581-depend-not-bundle" | Jason R. Coombs | 2017-02-24 | 1 | -2/+2 |
| | | | | | This reverts commit 089cdeb489a0fa94d11b7307b54210ef9aa40511, reversing changes made to aaec654d804cb78dbb6391afff721a63f26a71cd. | ||||
* | Strip out vendored packages and require them instead. Ref #581. | Jason R. Coombs | 2017-01-01 | 1 | -2/+2 |
| | |||||
* | Spelling fixes | Ville Skyttä | 2016-12-07 | 1 | -1/+1 |
| | |||||
* | Fix quantity of blank lines. | stepshal | 2016-10-19 | 1 | -1/+1 |
| | |||||
* | Fix quantity of blank lines after code object. | stepshal | 2016-07-13 | 1 | -0/+1 |
| | |||||
* | Fixing #190 following proposal by @jaraco | Benjamin Bach | 2016-06-02 | 1 | -0/+4 |
| | |||||
* | Re-use unique_everseen from itertools recipes. | Jason R. Coombs | 2016-05-22 | 1 | -7/+24 |
| | |||||
* | Extract duplicate code into a single method. | Jason R. Coombs | 2016-05-22 | 1 | -20/+28 |
| | |||||
* | Rewrite find_data_files and exclude_data_files to follow the same pattern ↵ | Jason R. Coombs | 2016-05-22 | 1 | -17/+24 |
| | | | | for building platform_patterns. | ||||
* | Allow files to be iterable in exclude_data_files | Jason R. Coombs | 2016-05-22 | 1 | -2/+3 |
| | |||||
* | Rewrite globs as chain of iterables. | Jason R. Coombs | 2016-05-22 | 1 | -3/+3 |
| | |||||
* | Filter non-files in find_data_files. Fixes #261. | Jason R. Coombs | 2016-05-22 | 1 | -2/+2 |
| | |||||
* | Refactor build_py.find_data_files to use iterables, constructing the files ↵ | Jason R. Coombs | 2016-05-22 | 1 | -3/+11 |
| | | | | list directly. Ref #261. | ||||
* | Use itertools.chain for more lenient support of any iterable types and also ↵ | Jason R. Coombs | 2016-05-22 | 1 | -2/+4 |
| | | | | more uniform indentation. | ||||
* | Always use Python 3 version of map | Jason R. Coombs | 2016-01-16 | 1 | -0/+1 |
| | |||||
* | Prefer relpath to string slicing for computing a path relative to a base. ↵ | Jason R. Coombs | 2016-01-16 | 1 | -4/+2 |
| | | | | Fixes #341. | ||||
* | Reindent | Jason R. Coombs | 2016-01-16 | 1 | -11/+11 |
| | |||||
* | Extract function for getting data files for package. | Jason R. Coombs | 2016-01-16 | 1 | -4/+4 |
| | |||||
* | Remove superfluous local variable | Jason R. Coombs | 2016-01-16 | 1 | -2/+2 |
| | |||||
* | Move trailing comment to docstring | Jason R. Coombs | 2016-01-16 | 1 | -1/+2 |
| | |||||
* | Use io.open for future compatibility and consistency | Jason R. Coombs | 2015-12-09 | 1 | -1/+1 |
| | |||||
* | Remove unused import | Jason R. Coombs | 2015-12-09 | 1 | -1/+0 |
| |