Skip to content

Commit b877f89

Browse files
PEP 639 compliance (#3283)
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 5390e1d commit b877f89

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"]
2+
requires = ["hatchling>=1.27.0", "hatch-vcs"]
33
build-backend = "hatchling.build"
44

55
[tool.hatch.build.targets.sdist]
@@ -47,7 +47,6 @@ classifiers = [
4747
'Intended Audience :: Developers',
4848
'Intended Audience :: Information Technology',
4949
'Intended Audience :: Science/Research',
50-
'License :: OSI Approved :: MIT License',
5150
'Programming Language :: Python',
5251
'Topic :: Software Development :: Libraries :: Python Modules',
5352
'Operating System :: Unix',
@@ -56,7 +55,8 @@ classifiers = [
5655
'Programming Language :: Python :: 3.12',
5756
'Programming Language :: Python :: 3.13',
5857
]
59-
license = {text = "MIT License"}
58+
license = "MIT"
59+
license-files = ["LICENSE.txt"]
6060
keywords = ["Python", "compressed", "ndimensional-arrays", "zarr"]
6161

6262
[project.optional-dependencies]

0 commit comments

Comments
 (0)