Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | 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 |
| | |||||
* | Extract two methods (still interdependent) for fixing requires | Jason R. Coombs | 2017-07-23 | 1 | -9/+19 |
| | |||||
* | Consolidate assignment of extras to the key in extras requirements. | Jason R. Coombs | 2017-07-23 | 1 | -5/+3 |
| | |||||
* | Extract variable for nicer indentation | Jason R. Coombs | 2017-07-23 | 1 | -6/+4 |
| | |||||
* | fix `install_requires` handling of extras | Benoit Pierre | 2017-07-15 | 1 | -3/+9 |
| | | | | | | Internally move requirements in `install_requires` that are using extras to `extras_require` so those extras don't get stripped when building wheels. | ||||
* | fix `extras_require` handling | Benoit Pierre | 2017-07-15 | 1 | -23/+23 |
| | | | | | Allow requirements of the form `"extra": ["barbazquux; {marker}"]` by internally converting them to `"extra:{marker}": ["barbazquux"]`. | ||||
* | fix possible error when finalizing `install_requires` | Benoit Pierre | 2017-07-15 | 1 | -2/+3 |
| | |||||
* | Delint | Jason R. Coombs | 2017-07-13 | 1 | -20/+31 |
| | |||||
* | Use filter and next to directly extract a single failure. | Jason R. Coombs | 2017-07-13 | 1 | -8/+12 |
| | |||||
* | Use better variable names and the partition method for simplicity. | Jason R. Coombs | 2017-07-13 | 1 | -7/+6 |
| | |||||
* | Reindent | Jason R. Coombs | 2017-07-13 | 1 | -11/+12 |
| |