summaryrefslogtreecommitdiff
path: root/setuptools/dist.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Make warning a DistDeprecationWarningJason R. Coombs2021-09-071-1/+1
| | | Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
* Do not error if use_2to3 is set to a false valueAndrew Plummer2021-09-071-2/+5
|
* Fail fast when use_2to3 is supplied.Jason R. Coombs2021-09-061-0/+4
|
* Remove time-based horizon.Jason R. Coombs2021-09-061-13/+6
|
* In Distribution.finalize_options, suppress known removed entry points for a ↵Jason R. Coombs2021-09-061-2/+25
| | | | year to avoid issues with older Setuptools. Fixes #2765.
* remove lib2to3 usageThomas Grainger2021-09-041-81/+87
|
* Add testJason R. Coombs2021-07-041-0/+6
|
* Restore the iteratorJason R. Coombs2021-07-041-2/+2
|
* setuptools/dist: Fix reproducibility issue by sorting globbingRichard Purdie2021-05-311-2/+2
| | | | | | | | | | | | | globbing uses os.listdir() which returns order on disk which is unsorted. Ultimately this leads to random ordering of License-File entries in PKG-INFO and means the resulting output isn't deterministic. Adding a sort fixes that. Switch to glob instead ot iglob since sorted() removes the benefit of an iterator. https://github.com/pypa/setuptools/issues/2691 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Merge branch 'main' into feature/more-itertoolsJason R. Coombs2021-05-221-4/+48
|\
| * Replace for/if/add/extend with generator on patterns. Use unique_everseen to ↵Jason R. Coombs2021-05-231-11/+30
| | | | | | | | dedupe.
| * Revert removal of license_fileMarc Mueller2021-05-231-4/+2
| |
| * Remove license_fileMarc Mueller2021-05-231-2/+4
| |
| * Fix after rebaseMarc Mueller2021-05-231-2/+2
| |
| * Keep user sorting for license filesMarc Mueller2021-05-231-6/+8
| |
| * Remove license_files_computed fieldMarc Mueller2021-05-231-4/+3
| |
| * Add License-File field to package metadataMarc Mueller2021-05-231-2/+35
| |
| * Changes after rebaseMarc Mueller2021-05-221-6/+1
| |
| * Changes after rebaseMarc Mueller2021-05-221-19/+8
| |
| * Fix testsMarc Mueller2021-05-221-0/+20
| |
| * Write long description in message payloadMarc Mueller2021-05-221-2/+6
|/
* Merge pull request #2678 from pypa/feature/static-commandsJason R. Coombs2021-05-211-1/+9
|\ | | | | Move distutils command names into package metadata and declare entry points using static config.
| * When discovering commands and distribution does not yet exist, return the ↵Jason R. Coombs2021-05-191-2/+6
| | | | | | | | empty list.
| * Move list of commands out of command package and into package metadata.Jason R. Coombs2021-05-191-1/+5
| |
* | Extract _set_metadata_defaults method and collapse the implementation to a ↵Jason R. Coombs2021-05-211-12/+12
|/ | | | much simpler form.
* Merge pull request #2641 from cdce8p/mv-versionJason R. Coombs2021-05-091-35/+13
|\ | | | | Always use latest metadata version for PKG-INFO
| * Always use latest mv version for PKG-INFOMarc Mueller2021-04-161-35/+13
| |
* | Add escaping to license fieldMarc Mueller2021-04-161-2/+3
|/
* Add rfc822_unescapeMarc Mueller2021-04-101-1/+20
|
* Refactor dist.read_pkg_fileMarc Mueller2021-04-101-28/+36
|
* Fix formatting of tests and change dash deprecation method nameMelissa Li2021-03-081-2/+2
|
* Reduce scope of dash deprecation warning to Setuptools and distutilsMelissa Li2021-03-081-0/+8
|
* Apply suggestions in code review.Jason R. Coombs2021-03-061-11/+12
| | | | Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
* Warn for uppercase usage in setup.cfg metadataMelissa Li2021-03-051-0/+12
|
* Dash to underscore compatibilityMelissa Li2021-03-031-1/+1
|
* Update warning for dash to underscore conversionMelissa Li2021-03-031-11/+9
|
* Add compatibility method to warn for future underscore changeMelissa Li2021-03-021-1/+16
|
* handle AttributeError by raising DisutilsSetupError in check_specifierMelissa Li2021-02-281-1/+1
|
* Preserve case-sensitive keys in setup.cfgMelissa Li2021-02-231-0/+1
|
* Fix AttributeError in Description validation. Fixes #2539.Jason R. Coombs2021-01-171-1/+1
|
* Repair Descriptions with newlines and emit a warning that the value will be ↵bugfix/1390-lenient-descriptionJason R. Coombs2021-01-171-1/+3
| | | | disallowed in the future.
* Quick fix for #1390. Now description cannot contain a newline.Jason R. Coombs2021-01-161-1/+8
|
* Apply noqa C901 comments to overly complex codeSviatoslav Sydorenko2020-12-311-3/+5
|
* Simplify `dist.Distribution._parse_config_files`Sviatoslav Sydorenko2020-12-311-24/+26
|
* Remove Python 2 compatibilityJason R. Coombs2020-08-161-37/+11
|
* Fix exception causes all over the codebaseRam Rachum2020-06-281-17/+21
|
* Merge tag 'v44.1.0'Jason R. Coombs2020-03-211-3/+3
|\
| * use finalize_distribution_options entrypoint ordercon-f-use2020-02-151-3/+3
| | | | | | | | fixes #1993
* | Extract method for normalization, allowing for bypass when the version is ↵Jason R. Coombs2020-03-151-11/+17
| | | | | | | | wrapped in 'sic'. Fixes #308.
* | Extract method for validating version.Jason R. Coombs2020-03-151-9/+14
| |