Skip to content

Commit 8323cb9

Browse files
PEP 639 compliance
Declare licenses using only these two fields, as per PEP 639: * license: SPDX license expression consisting of one or more license identifiers * license-files: list of license file glob patterns Supported by hatchling ≥ 1.27.0: https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license-and-license-files
1 parent b5ecf48 commit 8323cb9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pyproject.toml

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

55
[project]
@@ -8,7 +8,7 @@ description = "Access a multitude of neuroimaging data formats"
88
authors = [{ name = "NiBabel developers", email = "[email protected]" }]
99
maintainers = [{ name = "Christopher Markiewicz" }]
1010
readme = "README.rst"
11-
license = { text = "MIT License" }
11+
license = "MIT"
1212
requires-python = ">=3.9"
1313
dependencies = [
1414
"numpy >=1.23",
@@ -20,7 +20,6 @@ classifiers = [
2020
"Development Status :: 5 - Production/Stable",
2121
"Environment :: Console",
2222
"Intended Audience :: Science/Research",
23-
"License :: OSI Approved :: MIT License",
2423
"Operating System :: OS Independent",
2524
"Programming Language :: Python",
2625
"Programming Language :: Python :: 3.9",

0 commit comments

Comments
 (0)