Skip to content

Commit 1ee2de3

Browse files
authored
Use SPDX license identifier (#448)
Hatchling `1.27.0` added full support for license expressions, [PEP 639](https://peps.python.org/pep-0639/). https://hatch.pypa.io/1.12/config/metadata/#spdx-expression
1 parent 389bde2 commit 1ee2de3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

pyproject.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
build-backend = "hatchling.build"
33
requires = [
44
"hatch-vcs>=0.4",
5-
"hatchling>=1.25",
5+
"hatchling>=1.27",
66
]
77

88
[project]
@@ -16,7 +16,10 @@ keywords = [
1616
"log",
1717
"user",
1818
]
19-
license.file = "LICENSE"
19+
license = "MIT"
20+
license-files = [
21+
"LICENSE",
22+
]
2023
maintainers = [
2124
{ name = "Bernát Gábor", email = "[email protected]" },
2225
{ name = "Vineet Naik", email = "[email protected]" },
@@ -26,7 +29,6 @@ classifiers = [
2629
"Development Status :: 5 - Production/Stable",
2730
"Environment :: Console",
2831
"Intended Audience :: Developers",
29-
"License :: OSI Approved :: MIT License",
3032
"Operating System :: OS Independent",
3133
"Programming Language :: Python",
3234
"Programming Language :: Python :: 3 :: Only",

0 commit comments

Comments
 (0)