Skip to content

Commit 4b5b3e4

Browse files
committed
BLD: avoid a deprecation warning from setuptools (PEP 735 license metadata)
1 parent b693757 commit 4b5b3e4

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

MANIFEST.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,3 @@ include *.md
2727
include *.py
2828
include *.release
2929
include *.sh
30-
include LICENSE

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ requires = [
33
"Cython>=0.29",
44
"oldest-supported-numpy ; python_version < '3.9'",
55
"numpy>=2.0.0rc1 ; python_version >= '3.9'",
6-
"setuptools>=61", "setuptools_scm[toml]>=3.4"
6+
"setuptools>=77.0.1",
7+
"setuptools_scm[toml]>=3.4",
78
]
89
build-backend = "setuptools.build_meta"
910

@@ -18,7 +19,8 @@ keywords = [
1819
"numpy", "netcdf", "data", "science", "network", "oceanography",
1920
"meteorology", "climate",
2021
]
21-
license = {text = "MIT"}
22+
license = "MIT"
23+
license-files = ["LICENSE"]
2224
classifiers = [
2325
"Development Status :: 3 - Alpha",
2426
"Programming Language :: Python :: 3",
@@ -28,7 +30,6 @@ classifiers = [
2830
"Programming Language :: Python :: 3.12",
2931
"Programming Language :: Python :: 3.13",
3032
"Intended Audience :: Science/Research",
31-
"License :: OSI Approved :: MIT License",
3233
"Topic :: Software Development :: Libraries :: Python Modules",
3334
"Topic :: System :: Archiving :: Compression",
3435
"Operating System :: OS Independent",

0 commit comments

Comments
 (0)