| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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 | ||||
| * | 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 |
| | | | | |||||
| | | * | fix for regression - spurious "Provides-Extra:" generated in metadata | wim glenn | 2018-03-16 | 1 | -1/+2 |
| | | | | |||||
| | * | | Add support for maintainer in PKG-INFO | Paul Ganssle | 2018-03-16 | 1 | -12/+36 |
| | |/ | | | | | | | | | Per PEP 345, metadata Version 1.2 should support the Author, Maintainer, Author-Email and Maintainer-Email fields. | ||||
| | * | Updates for PEP 566 (Metadata 2.1) | Dustin Ingram | 2018-03-14 | 1 | -4/+23 |
| | | | |||||
| | * | Remove extraneous attribute copy, artifact of bad merge. | Jason R. Coombs | 2018-01-04 | 1 | -3/+0 |
| | | | |||||
| | * | Merge branch 'master' into master | Jason R. Coombs | 2018-01-04 | 1 | -5/+7 |
| | |\ | |||||
| | | * | Merge pull request #1207 from cryvate/fix-issue-1206 | Jason R. Coombs | 2018-01-04 | 1 | -8/+7 |
| | | |\ | | | | | | | | | Add setup.cfg support for long_description_content_type | ||||
| | | | * | Rework how to handle long_description_content_type | Henk-Jaap Wagenaar | 2017-11-25 | 1 | -13/+5 |
| | | | | | |||||
| | | | * | Add setup.cfg support for long_description_content_type (in line with docs). | Henk-Jaap Wagenaar | 2017-11-21 | 1 | -0/+7 |
| | | | | | |||||
| | | * | | Disallow unordered sequences for specifying install_requires. Fixes #458. | Jason R. Coombs | 2017-11-25 | 1 | -0/+2 |
| | | |/ | |||||
| | * / | Support PEP 345 Project-URL metadata | Jeremy Stanley | 2017-11-22 | 1 | -1/+10 |
| | |/ | | | | | | | | | | | | | | | | | | | | | By including one or more Project-URL entries in PKG-INFO metadata, PyPI can display helpful hyperlinks in a generic manner. Add support here to be able to pass it through setup.cfg and setup.py with a project_urls dict. See the corresponding section of the Core Metadata Specifications from the Python Packaging User Guide for details: https://packaging.python.org/specifications/core-metadata/#project-url-multiple-use | ||||
| | * | support `setup_requires` in setup.cfg | Benoit Pierre | 2017-10-16 | 1 | -21/+19 |
| | | | |||||
| * | | improve encoding handling for `setup.cfg` | Benoit Pierre | 2017-10-25 | 1 | -1/+1 |
| |/ | | | | | | | | Support the same mechanism as for Python sources for declaring the encoding to be used when reading `setup.cfg` (see PEP 263), and return the results of reading it as Unicode. Fix #1062 and #1136. | ||||
| * | Merge branch 'master' into pr1127 | Jason R. Coombs | 2017-09-03 | 1 | -0/+10 |
| |\ | |||||
| | * | Add new long_description_content_type kwarg | Marc Abramowitz | 2017-08-28 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | This is used to populate the new `Description-Content-Type` field. `Description-Content-Type` is described at https://github.com/pypa/python-packaging-user-guide/pull/258 | ||||
| * | | workaround easy_install bug | Benoit Pierre | 2017-08-05 | 1 | -30/+24 |
| |/ | | | | | | Don't reuse `easy_install` command in `Distribution.fetch_build_egg` implementation. Fix #196. | ||||
| * | fix requires handling when using setup.cfg | Benoit Pierre | 2017-08-02 | 1 | -5/+5 |
| | | |||||
| * | do not strip empty sections in `extras_require` | Benoit Pierre | 2017-07-25 | 1 | -0/+2 |
| | | |||||
| * | Merge branch 'master' of https://github.com/pypa/setuptools | Jason R. Coombs | 2017-07-24 | 1 | -11/+4 |
| |\ | |||||
| | * | Revert "fix `install_requires` handling of extras" | Benoit Pierre | 2017-07-23 | 1 | -7/+4 |
| | | | | | | | | | This reverts commit a3ec721ec1e70f1f7aec6c3349ad85b446410809. | ||||
| * | | Extract method capturing the 'suffix' for a marker. | Jason R. Coombs | 2017-07-23 | 1 | -4/+16 |
| | | | |||||
| * | | Parse the requirements just once for simplicity and clarity | Jason R. Coombs | 2017-07-23 | 1 | -8/+3 |
| |/ | |||||
| * | Align suffix calculation for extras sections | Jason R. Coombs | 2017-07-23 | 1 | -9/+4 |
| | | |||||
| * | Refactor a bit for clarity | Jason R. Coombs | 2017-07-23 | 1 | -9/+12 |
| | | |||||
| * | Consolidate logic around a 'simple' requirement | Jason R. Coombs | 2017-07-23 | 1 | -7/+11 |
| | | |||||
| * | Extract a function for removing extras and marker from a requirement. | Jason R. Coombs | 2017-07-23 | 1 | -9/+15 |
| | | |||||
| * | Handle rebuild of install_requires separate from building extras" | Jason R. Coombs | 2017-07-23 | 1 | -7/+12 |
| | | |||||
| * | Use term 'section' consistently | Jason R. Coombs | 2017-07-23 | 1 | -5/+4 |
| | | |||||
