Skip to content

Commit 0072faa

Browse files
committed
fix: disable auto license-file metadata generation
Setuptools auto-detects LICENSE and generates license-file metadata, which requires packaging>=24.2 to validate. Disable this by setting license-files = [] in [tool.setuptools]. The license is still declared via the classifier.
1 parent 168bfb5 commit 0072faa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ dev = [
4040
[tool.setuptools]
4141
zip-safe = false
4242
packages = []
43+
license-files = []
4344

4445
[tool.pytest.ini_options]
4546
testpaths = ["test"]

0 commit comments

Comments
 (0)