Skip to content

Commit bbd99d8

Browse files
authored
Merge pull request #1426 from neutrinoceros/bld/pep735
BLD: avoid a deprecation warning from setuptools (PEP 639 license metadata)
2 parents 1561f67 + 8dee004 commit bbd99d8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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
@@ -2,7 +2,8 @@
22
requires = [
33
"Cython>=0.29",
44
"numpy>=2.0.0",
5-
"setuptools>=61", "setuptools_scm[toml]>=3.4"
5+
"setuptools>=77.0.1",
6+
"setuptools_scm[toml]>=3.4",
67
]
78
build-backend = "setuptools.build_meta"
89

@@ -17,7 +18,8 @@ keywords = [
1718
"numpy", "netcdf", "data", "science", "network", "oceanography",
1819
"meteorology", "climate",
1920
]
20-
license = {text = "MIT"}
21+
license = "MIT"
22+
license-files = ["LICENSE"]
2123
classifiers = [
2224
"Development Status :: 3 - Alpha",
2325
"Programming Language :: Python :: 3",
@@ -27,7 +29,6 @@ classifiers = [
2729
"Programming Language :: Python :: 3.13",
2830
"Programming Language :: Python :: 3.14",
2931
"Intended Audience :: Science/Research",
30-
"License :: OSI Approved :: MIT License",
3132
"Topic :: Software Development :: Libraries :: Python Modules",
3233
"Topic :: System :: Archiving :: Compression",
3334
"Operating System :: OS Independent",

0 commit comments

Comments
 (0)