Skip to content

Commit 644ab62

Browse files
MNT: 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 adf472c commit 644ab62

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyproject.toml

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

55
[project]
@@ -11,13 +11,13 @@ classifiers = [
1111
"Development Status :: 5 - Production/Stable",
1212
"Intended Audience :: Science/Research",
1313
"Topic :: Scientific/Engineering :: Image Recognition",
14-
"License :: OSI Approved :: Apache Software License",
1514
"Programming Language :: Python :: 3.10",
1615
"Programming Language :: Python :: 3.11",
1716
"Programming Language :: Python :: 3.12",
1817
"Programming Language :: Python :: 3.13",
1918
]
20-
license = {file = "LICENSE"}
19+
license = "Apache-2.0"
20+
license-files = ["LICENSE"]
2121
requires-python = ">=3.10"
2222
dependencies = [
2323
"acres >= 0.2.0",

0 commit comments

Comments
 (0)