Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sdist: Add files from build subcommands (get_source_files) | Anderson Bravalheri | 2022-06-25 | 1 | -0/+14 |
| | |||||
* | Migrate remainder of 'iter_entry_points' to importlib_metadata. | Jason R. Coombs | 2022-02-06 | 1 | -2/+2 |
| | |||||
* | Fix 1461: Better loop breaker for `manifest_maker` | Anderson Bravalheri | 2021-11-01 | 1 | -5/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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). | ||||
* | 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. | ||||
* | Add License-File field to package metadata | Marc Mueller | 2021-05-23 | 1 | -46/+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 |
| | |||||
* | Remove Python 2 compatibility | Jason R. Coombs | 2020-08-16 | 1 | -38/+8 |
| | |||||
* | Fix for Python 4: replace unsafe six.PY3 with PY2 | Hugo | 2020-01-08 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' into feature/include-pyproject.toml | Jason R. Coombs | 2019-12-29 | 1 | -9/+53 |
|\ | |||||
| * | Extract methods to separate _safe_data_files behavior and _add_data_files. | Jason R. Coombs | 2019-12-21 | 1 | -8/+21 |
| | | |||||
| * | Filter out missing files and use extend() | Mick Koch | 2019-10-28 | 1 | -2/+2 |
| | | |||||
| * | Use an OrderedSet for accumulating license files | Mick Koch | 2019-10-28 | 1 | -2/+2 |
| | | |||||
| * | Add support for `license_files` option in metadata | Mick Koch | 2019-10-28 | 1 | -8/+18 |
| | | |||||
| * | Address review comments | Deniz Taneli | 2018-11-10 | 1 | -6/+6 |
| | | |||||
| * | `check_license` no longer needs to parse `setup.cfg` | Deniz Taneli | 2018-10-28 | 1 | -17/+13 |
| | | |||||
| * | Setuptools will install licenses if included in setup.cfg | Deniz Taneli | 2018-10-27 | 1 | -0/+25 |
| | | | | | | | | | | | | | | | | | | Addressing #357 `python setup.py sdist` now includes the license file if `license_file` is included in `setup.cfg` unless it is explicitly excluded in `MANIFEST.in`. Co-Authored-By: Poyzan Nur Taneli <31743851+ptaneli@users.noreply.github.com> | ||||
* | | do not change py36compat, put changes into sdist command | Alexander Duryagin | 2019-01-11 | 1 | -0/+8 |
|/ | |||||
* | Remove spurious executable permissions | Miro Hrončok | 2018-07-27 | 1 | -0/+0 |
| | |||||
* | Merge branch 'master' into drop-py26 | Jason R. Coombs | 2017-09-03 | 1 | -1/+2 |
|\ | |||||
| * | Fix Python 2.6 support | Benoit Pierre | 2017-09-03 | 1 | -1/+1 |
| | | |||||
| * | Improve README file list handling and add Markdown to the current list | Samuel Gaist | 2017-09-01 | 1 | -1/+2 |
| | | | | | | | | | | | | Markdown is a widely used format to write README files and documentation. This patch aims to simplify adding new formats and at the same time adds that one to the list. | ||||
| * | Revert "Merge pull request #933 from pypa/feature/581-depend-not-bundle" | Jason R. Coombs | 2017-02-24 | 1 | -1/+1 |
| | | | | | | | | | | 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 | -1/+1 |
| | | |||||
* | | Drop support for Python 2.6, removing lots of compatibility code for a ↵ | Jason R. Coombs | 2016-12-09 | 1 | -7/+0 |
|/ | | | | leaner, cleaner codebase. Fixes #878. | ||||
* | Use super to resolve the superclass, but fall back to direct access on ↵ | Jason R. Coombs | 2016-12-01 | 1 | -1/+4 |
| | | | | Python 2 where old style classes are used. Ref #843. | ||||
* | Change _add_defaults_data_files override and add unittest | Thiebaud Weksteen | 2016-11-21 | 1 | -3/+4 |
| | |||||
* | Backed out changeset e12256c4d32e. Fixes #833. Reopens #274 and reopens #521. | Jason R. Coombs | 2016-10-29 | 1 | -0/+5 |
| | |||||
* | Remove _add_defaults_data_files override | Thiebaud Weksteen | 2016-10-26 | 1 | -5/+0 |
| | |||||
* | Fix quantity of blank lines. | stepshal | 2016-10-18 | 1 | -0/+2 |
| | |||||
* | Update sdist to use sdist_add_defaults forward compatibility. | Jason R. Coombs | 2016-10-14 | 1 | -43/+8 |
| | |||||
* | Move READMES definition into class attribute. | Jason R. Coombs | 2016-10-14 | 1 | -5/+5 |
| | |||||
* | Always use iterator-based filter | Jason R. Coombs | 2016-10-14 | 1 | -0/+1 |
| | |||||
* | Rely on degenerate behavior in list.extend, as found in distutils. | Jason R. Coombs | 2016-10-14 | 1 | -3/+2 |
| | |||||
* | Default to gztar for sdists on all platforms. Ref #748. | Jason R. Coombs | 2016-08-20 | 1 | -0/+11 |
| | |||||
* | Use 'except Exception:' instead of 'except:'. | stepshal | 2016-07-22 | 1 | -1/+1 |
| | |||||
* | Disable os.link during make_distribution. Fixes #516. | Jason R. Coombs | 2016-07-21 | 1 | -0/+27 |
| | | | | Note that better would be if sdist provided some sort of hooks to better control the file copying, but since it does not, this technique will suffice for now. | ||||
* | Fix quantity of blank lines after code object. | stepshal | 2016-07-13 | 1 | -0/+1 |
| | |||||
* | Don't use deprecated 'U' flag to read manifest | Victor Stinner | 2016-06-29 | 1 | -1/+1 |
| | | | | | | | | The universal newlines mode ('U' flag) is deprecated since Python 3.4. It only replaces "\r\n" with "\n", but it doesn't split lines at "\r" (Mac newline). In practice, the flag was useless, the sdist.read_manifest() method already uses line.strip() and so removes newline characters. | ||||
* | Modeling after Astropy's technique for bundling libraries, the imports are ↵ | Jason R. Coombs | 2015-12-31 | 1 | -6/+1 |
| | | | | | | | now much cleaner. Thanks @embray. Ref #229. --HG-- branch : feature/issue-229 | ||||
* | Update vendoring technique to match that used for packaging. Ref #229. | Jason R. Coombs | 2015-12-31 | 1 | -1/+6 |
| | | | | | --HG-- branch : feature/issue-229 | ||||
* | Merge with master. Ref #229. | Jason R. Coombs | 2015-12-31 | 1 | -5/+4 |
|\ | | | | | | | | | --HG-- branch : feature/issue-229 | ||||
| * | Use io.open for future compatibility and consistency | Jason R. Coombs | 2015-12-09 | 1 | -4/+2 |
| | | |||||
| * | Use except/as, now supported by Python 2.6 | Jason R. Coombs | 2015-01-04 | 1 | -1/+2 |
| | | |||||
* | | Merge with 10.2.1 | Jason R. Coombs | 2015-01-02 | 1 | -58/+2 |
|\ \ | |/ | | | | | | | --HG-- branch : feature/issue-229 | ||||
| * | Remove superfluous parentheses | Jason R. Coombs | 2014-12-31 | 1 | -1/+1 |
| | | |||||
| * | Restore _default_revctrl implementation (stubbed). Fixes #320. | Jason R. Coombs | 2014-12-31 | 1 | -0/+1 |
| | | |||||
| * | Removed svn support from setuptools. Ref #313. | Jason R. Coombs | 2014-12-24 | 1 | -57/+0 |
| | | |||||
* | | Merge with 6.0.2 | Jason R. Coombs | 2014-09-29 | 1 | -3/+5 |
|\ \ | |/ | | | | | | | --HG-- branch : feature/issue-229 |