Skip to content

Commit b0e1f48

Browse files
follow PEP 639 for licenses (#541)
The license table with `file` key is now deprecated in favor of an SPDX identifier and separate field for license-files. https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license-and-license-files Signed-off-by: Spencer Schrock <[email protected]>
1 parent 1f9a11d commit b0e1f48

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
[build-system]
2-
requires = ["hatchling>=1.25"]
2+
requires = ["hatchling>=1.27"]
33
build-backend = "hatchling.build"
44

55
[project]
66
name = "model-signing"
77
dynamic = ["version"]
88
description = "A tool for signing and verifying ML models"
99
readme = "README.md"
10-
license = { file = "LICENSE" }
10+
license = "Apache-2.0"
11+
license-files = ["LICENSE"]
1112
authors = [
1213
{ name = "Sigstore Authors", email = "[email protected]" }
1314
]

0 commit comments

Comments
 (0)