Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Use a defaultdict and count to track seen items | Jason R. Coombs | 2015-12-09 | 1 | -3/+4 |
| | |||||
* | Reindent to remove trailing comment | Jason R. Coombs | 2015-12-09 | 1 | -2/+6 |
| | |||||
* | Prefer set to dict.fromkeys | Jason R. Coombs | 2015-12-09 | 1 | -1/+1 |
| | |||||
* | Rewrite init/loop/extend as dual-for generator expression. | Jason R. Coombs | 2015-12-09 | 1 | -7/+7 |
| | |||||
* | Remove hanging indent | Jason R. Coombs | 2015-12-09 | 1 | -2/+4 |
| | |||||
* | Move import to top | Jason R. Coombs | 2015-12-09 | 1 | -3/+2 |
| | |||||
* | Prefer bytes literal | Jason R. Coombs | 2015-12-09 | 1 | -1/+1 |
| | |||||
* | Use context manager for closing file | Jason R. Coombs | 2015-12-09 | 1 | -2/+2 |
| | |||||
* | Use io.open in build_py | Jason R. Coombs | 2015-12-09 | 1 | -1/+3 |
| | |||||
* | Delete some dead code. | Arfrever Frehtes Taifersar Arahesis | 2015-02-18 | 1 | -16/+1 |
| | |||||
* | Fixed PEP 8 compliancy of the setuptools.command package | Alex Grönholm | 2014-06-18 | 1 | -28/+37 |
| | |||||
* | Correct indentation and clarify meaning by using namespacing | Jason R. Coombs | 2014-04-30 | 1 | -10/+10 |
| | | | | | --HG-- extra : amend_source : 20ab7547c8478eb084767fe701e627bdd462ba16 | ||||
* | Don't eagerly import namespace packages. This was the big reason for | PJ Eby | 2006-04-14 | 1 | -5/+5 |
| | | | | | | | | | branching to 0.7 now, as I wanted this wart gone before anything went into Python 2.5. But it's gone now, yay! --HG-- extra : source : f3c5c19842064dd4a497baef0171aac54464a484 extra : amend_source : 3f79e71eedfc5f37a1813967bb53cf9d92a11919 | ||||
* | Delint build_py | Jason R. Coombs | 2013-11-27 | 1 | -27/+16 |
| | |||||
* | Extracted module for lib2to3 Mixin customization. | Jason R. Coombs | 2013-11-27 | 1 | -52/+2 |
| | |||||
* | Reorganize imports | Jason R. Coombs | 2013-11-27 | 1 | -1/+3 |
| | |||||
* | Remove a missing fixer warning which showed during normal operations. Fixes ↵ | Stefan H. Holek | 2012-10-08 | 1 | -4/+2 |
| | | | | | | | | #305. --HG-- branch : distribute extra : rebase_source : 3e5912a80758abf1e198d400c29ab03112eb68d6 | ||||
* | Issue #310: Non-ascii characters in a namespace __init__.py causes errors. | Lennart Regebro | 2012-08-22 | 1 | -2/+2 |
| | | | | | | --HG-- branch : distribute extra : rebase_source : 668e1c79a2bcc314bcf1f7213b317766bb8511ab | ||||
* | Added options to exclude 2to3 fixers. Fixes #249 | Jason R. Coombs | 2011-10-04 | 1 | -7/+21 |
| | | | | | | --HG-- branch : distribute extra : rebase_source : 2033bcdd4c2e78e0e03796f1f9cf6d6e9a59fc21 |