Skip to content

Commit 0842348

Browse files
fruchdkropachev
authored andcommitted
fix(build): use dict-style license for setuptools<77 compatibility
The PEP 639 SPDX string format (license = "Apache-2.0") requires setuptools>=77. Downstream projects that constrain setuptools to <75 fail to build from source with "project.license must be valid exactly by one definition (2 matches found)". Switch to the dict-style format which is compatible with all setuptools versions >=65. Fixes #840
1 parent cd9f525 commit 0842348

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ classifiers = [
2121
]
2222
dependencies = ['geomet>=1.1', 'pyyaml > 5.0']
2323
dynamic = ["version", "readme"]
24-
license = "Apache-2.0"
24+
license = {text = "Apache-2.0"}
2525
requires-python = ">=3.9"
2626

2727
[project.urls]

0 commit comments

Comments
 (0)