Skip to content

Commit 129d746

Browse files
authored
pep639: setuptools license and license-files fields (#6428)
1 parent 90e36fe commit 129d746

File tree

4 files changed

+10
-11
lines changed

4 files changed

+10
-11
lines changed

pyproject.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[build-system]
22
# Defined by PEP 518
33
requires = [
4-
"setuptools>=64",
5-
"setuptools_scm[toml]>=7.0",
4+
"setuptools>=77.0.3",
5+
"setuptools_scm[toml]>=8",
66
"wheel",
77
]
88
# Defined by PEP 517
@@ -15,7 +15,6 @@ authors = [
1515
classifiers = [
1616
"Development Status :: 5 - Production/Stable",
1717
"Intended Audience :: Science/Research",
18-
"License :: OSI Approved :: BSD License",
1918
"Operating System :: MacOS",
2019
"Operating System :: POSIX",
2120
"Operating System :: POSIX :: Linux",
@@ -48,7 +47,8 @@ keywords = [
4847
"ugrid",
4948
"visualisation",
5049
]
51-
license = {text = "BSD-3-Clause"}
50+
license = "BSD-3-Clause"
51+
license-files = ["LICENSE"]
5252
name = "scitools-iris"
5353
requires-python = ">=3.11"
5454

@@ -116,7 +116,6 @@ known-first-party = ["iris"]
116116
convention = "numpy"
117117

118118
[tool.setuptools]
119-
license-files = ["LICENSE"]
120119
zip-safe = false
121120

122121
[tool.setuptools.dynamic]

requirements/py311.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ dependencies:
77
- python =3.11
88

99
# Setup dependencies.
10-
- setuptools >=64
11-
- setuptools-scm >=7
10+
- setuptools >=77.0.3
11+
- setuptools-scm >=8
1212

1313
# Core dependencies.
1414
- cartopy >=0.21

requirements/py312.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ dependencies:
77
- python =3.12
88

99
# Setup dependencies.
10-
- setuptools >=64
11-
- setuptools-scm >=7
10+
- setuptools >=77.0.3
11+
- setuptools-scm >=8
1212

1313
# Core dependencies.
1414
- cartopy >=0.21

requirements/py313.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ dependencies:
77
- python =3.13
88

99
# Setup dependencies.
10-
- setuptools >=64
11-
- setuptools-scm >=7
10+
- setuptools >=77.0.3
11+
- setuptools-scm >=8
1212

1313
# Core dependencies.
1414
- cartopy >=0.21

0 commit comments

Comments
 (0)