Skip to content

Commit

Permalink
Fix problem with license-files in setuptools plugin (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed Mar 27, 2023
2 parents b7b4c96 + 6d105fc commit 2940279
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ Changelog
Development Version
====================
Version 0.12.2 (dev)
====================

- ``setuptools`` plugin:
- Fix problem with ``license-files`` patterns,
by removing ``default`` value.

Version 0.12.1
==============

Expand Down
4 changes: 2 additions & 2 deletions src/validate_pyproject/plugins/setuptools.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,9 @@
"items": {"type": "string"},
"$$description": [
"PROVISIONAL: List of glob patterns for all license files being distributed.",
"(might become standard with PEP 639)."
"(might become standard with PEP 639).",
"By default: ``['LICEN[CS]E*', 'COPYING*', 'NOTICE*', 'AUTHORS*']``"
],
"default": ["LICEN[CS]E*", " COPYING*", " NOTICE*", "AUTHORS*"],
"$comment": "TODO: revise if PEP 639 is accepted. Probably ``project.license-files``?"
},
"dynamic": {
Expand Down

0 comments on commit 2940279

Please sign in to comment.