Skip to content

Commit fbde7e8

Browse files
[packaging] Fix multiple definitions for LICENSE in metadata
The error was the following: ``` configuration error: `project.license` must be valid exactly by one definition (2 matches found): - keys: 'file': {type: string} required: ['file'] - keys: 'text': {type: string} required: ['text'] ``` We choose the text metadata so we don't have to worry about little discrepancies in the License text and we can remove the license.
1 parent f9609c4 commit fbde7e8

File tree

2 files changed

+1
-342
lines changed

2 files changed

+1
-342
lines changed

LICENSE

Lines changed: 0 additions & 340 deletions
This file was deleted.

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ name = "pylint"
88
description = "python code static checker"
99
readme = "README.rst"
1010
keywords = [ "lint", "linter", "python", "static code analysis" ]
11-
license = "GPL-2.0-or-later"
12-
license-files = [ "LICENSE", "CONTRIBUTORS.txt" ]
11+
license = { text = "GPL-2.0-or-later" }
1312
authors = [
1413
{ name = "Python Code Quality Authority", email = "code-quality@python.org" },
1514
]

0 commit comments

Comments
 (0)