Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix AttributeError in Description validation. Fixes #2539. | Jason R. Coombs | 2021-01-17 | 1 | -1/+1 |
| | |||||
* | Repair Descriptions with newlines and emit a warning that the value will be ↵bugfix/1390-lenient-description | Jason R. Coombs | 2021-01-17 | 1 | -1/+3 |
| | | | | disallowed in the future. | ||||
* | Quick fix for #1390. Now description cannot contain a newline. | Jason R. Coombs | 2021-01-16 | 1 | -1/+8 |
| | |||||
* | Apply noqa C901 comments to overly complex code | Sviatoslav Sydorenko | 2020-12-31 | 1 | -3/+5 |
| | |||||
* | Simplify `dist.Distribution._parse_config_files` | Sviatoslav Sydorenko | 2020-12-31 | 1 | -24/+26 |
| | |||||
* | Remove Python 2 compatibility | Jason R. Coombs | 2020-08-16 | 1 | -37/+11 |
| | |||||
* | Fix exception causes all over the codebase | Ram Rachum | 2020-06-28 | 1 | -17/+21 |
| | |||||
* | Merge tag 'v44.1.0' | Jason R. Coombs | 2020-03-21 | 1 | -3/+3 |
|\ | |||||
| * | use finalize_distribution_options entrypoint order | con-f-use | 2020-02-15 | 1 | -3/+3 |
| | | | | | | | | fixes #1993 | ||||
* | | Extract method for normalization, allowing for bypass when the version is ↵ | Jason R. Coombs | 2020-03-15 | 1 | -11/+17 |
| | | | | | | | | wrapped in 'sic'. Fixes #308. | ||||
* | | Extract method for validating version. | Jason R. Coombs | 2020-03-15 | 1 | -9/+14 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into debt/remove-features | Jason R. Coombs | 2020-03-07 | 1 | -1/+1 |
|\ \ | |||||
| * | | 👹 Feed the hobgoblins (delint). | Jason R. Coombs | 2020-01-19 | 1 | -1/+1 |
| |/ | |||||
* | | Remove the Features feature. Fixes #65. | Jason R. Coombs | 2020-01-19 | 1 | -257/+3 |
|/ | | | | This commit reverts e4460fad043f4fa0edc7b7e1eef0b209f4588fe5. | ||||
* | Fix for Python 4: replace unsafe six.PY3 with PY2 | Hugo | 2020-01-08 | 1 | -3/+3 |
| | |||||
* | Merge pull request #1877 from pypa/feature/distribution-options-hooks | Jason R. Coombs | 2019-11-23 | 1 | -4/+20 |
|\ | | | | | Add new hook 'setuptools.finalize_distribution_options' | ||||
| * | Move all finalization of distribution options into hooks. Allow hooks to ↵ | Jason R. Coombs | 2019-11-16 | 1 | -6/+18 |
| | | | | | | | | specify an index for ordering. | ||||
| * | Add new hook 'setuptools.finalize_distribution_options' for plugins like ↵ | Jason R. Coombs | 2019-10-18 | 1 | -0/+4 |
| | | | | | | | | 'setuptools_scm' to alter distribution options. | ||||
* | | Merge pull request #1767 from kchmck/feat-license-files | Jason R. Coombs | 2019-11-16 | 1 | -0/+1 |
|\ \ | | | | | | | Add support for `license_files` option in metadata | ||||
| * | | Use an OrderedSet for accumulating license files | Mick Koch | 2019-10-28 | 1 | -1/+1 |
| | | | |||||
| * | | Add support for `license_files` option in metadata | Mick Koch | 2019-10-28 | 1 | -0/+1 |
| |/ | |||||
* | | dist: re-implement `fetch_build_egg` to use pip | Benoit Pierre | 2019-11-15 | 1 | -26/+2 |
|/ | |||||
* | Merge branch 'master' into feature/deterministic-provides-extras | Jason R. Coombs | 2019-09-11 | 1 | -28/+23 |
|\ | |||||
| * | improve `package_data` check | Daniel Himmelstein | 2019-07-16 | 1 | -14/+15 |
| | | | | | | | | | | | | Ensure the dictionary values are lists/tuples of strings. Fix #1459. | ||||
| * | fix assert_string_list docstring | Daniel Himmelstein | 2019-07-16 | 1 | -1/+1 |
| | | | | | | | | | | | | value=None raises TypeError DistutilsSetupError: 2 must be a list of strings (got None) | ||||
| * | Force metadata-version = 1.2 when project urls are present. | Bastian Venthur | 2019-05-16 | 1 | -1/+2 |
| | | | | | | | | Closes: #1756 | ||||
| * | When reading config files, require them to be encoded with UTF-8. Fixes #1702. | Jason R. Coombs | 2019-04-05 | 1 | -7/+2 |
| | | |||||
| * | Feed the hobgoblins (delint). | Jason R. Coombs | 2019-04-05 | 1 | -3/+2 |
| | | |||||
| * | Fix typo in docstring (#1718) | Dustin Ingram | 2019-03-16 | 1 | -1/+1 |
| | | |||||
| * | Remove duplicate import io (#1713) | Frédéric Chapoton | 2019-03-06 | 1 | -1/+0 |
| | | | | | | Found by lgtm | ||||
* | | Use an ordered set when constructing 'extras provided'. Ref #1305. | Jason R. Coombs | 2019-02-17 | 1 | -1/+2 |
|/ | |||||
* | Prefer native strings on Python 2 when reading config files. Fixes #1653. | Jason R. Coombs | 2019-01-28 | 1 | -1/+21 |
| | |||||
* | Fix test failure by better detecting string options from an updated ↵ | Jason R. Coombs | 2019-01-26 | 1 | -1/+1 |
| | | | | ConfigParser. | ||||
* | Adopt distutils.dist.Distribution._set_command_options to support better ↵ | Jason R. Coombs | 2019-01-26 | 1 | -0/+48 |
| | | | | string detection. | ||||
* | Given that the config file parsing functionality is unlikely to change ↵ | Jason R. Coombs | 2019-01-25 | 1 | -4/+74 |
| | | | | upstream, just incorporate the functionality directly. | ||||
* | Merge branch 'master' into fix_889_and_non-ascii_in_setup.cfg_take_2 | Jason R. Coombs | 2019-01-25 | 1 | -65/+200 |
|\ | |||||
| * | Fix issue with missing author metadata | Paul Ganssle | 2018-11-12 | 1 | -2/+2 |
| | | | | | | | | | | Prior to this patch, if the author or author_email were omitted from `setup`, a malformed `PKG-INFO` would be created. | ||||
| * | Use write_field in write_pkg_file | Paul Ganssle | 2018-11-07 | 1 | -20/+26 |
| | | | | | | | | | | | | This creates a wrapper function for writing fields in the PKG-INFO file, both to simplify the syntax and to add a point where we can inject an encoding function in order to support Python 2.7 compatibility. | ||||
| * | Start patching DistributionMetadata.read_pkg_file | Paul Ganssle | 2018-11-07 | 1 | -13/+20 |
| | | | | | | | | | | | | | | | | | | This turns get_metadata_version into a method on DistributionMetadata, populated either by inferrence (in the case of package metadata specified in `setup`) or from the data in a specified PKG-INFO file. To populate metadata_version from PKG-INFO, we need to monkey patch read_pkg_file in addition to write_pkg_file. | ||||
| * | Store metadata version on metadata object | Paul Ganssle | 2018-11-07 | 1 | -2/+6 |
| | | |||||
| * | Add DistributionMetadata.read_pkg_file | Paul Ganssle | 2018-11-07 | 1 | -0/+53 |
| | | | | | | | | | | This is the baseline, unchanged from the version in distutils.dist, to be modified before patching. | ||||
| * | Add custom deprecation warning classes | Junhan Huang | 2018-10-28 | 1 | -2/+8 |
| | | | | | | | | | | | | | | | | | | | | | | `DeprecationWarning` is not visible by default in the latest versions of CPython, so this switches the deprecation warnings in setuptools and pkg_resources over to custom classes derived from `Warning` instead. Fixes issue github issue #159 Co-authored-by: Junhan Huang <robin.j.huang@gmail.com> Co-authored-by: Marton Pono <marci93@gmail.com> | ||||
| * | Allow setting long_description_content_type externally | Ian Wienand | 2018-05-17 | 1 | -13/+23 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some tools, such as PBR, might want to set long_description_content_type during the parent object's Distribution.__init__() call (during distutils setup_keywords entry points). However, that field is currently unconditionally overwritten after these calls, erasing the value. We would rather not duplicate the existing method of copying into dist.metadata as done with project_urls. This preserves the fields within Distribution.metadata described by self._DISTUTIULS_UNUPPORTED_METADATA, or otherwise takes it from arguments. A test case that simulates setting the long description and overriding the arguments is added. | ||||
| * | Stop patching write_pkg_info | Paul Ganssle | 2018-03-18 | 1 | -9/+0 |
| | | |||||
| * | Delint | Jason R. Coombs | 2018-03-18 | 1 | -2/+3 |
| | | |||||
| * | When possible, avoid test-specific interfaces in production code. | Jason R. Coombs | 2018-03-18 | 1 | -1/+1 |
| | | |||||
| * | Fix issue with unicode author/maintainer on PY2 | Paul Ganssle | 2018-03-17 | 1 | -4/+10 |
| | | |||||
| * | Setuptools now vendors its own direct dependencies (packaging, six, ↵ | Jason R. Coombs | 2018-03-17 | 1 | -3/+3 |
| | | | | | | | | pyparsing). Ref #1296. | ||||
| * | Merge branch 'master' into HEAD | Jason R. Coombs | 2018-03-17 | 1 | -1/+3 |
| |\ | |||||
| | * | address review comments and squash the empty string extra earlier | wim glenn | 2018-03-16 | 1 | -3/+4 |
| | | |