Skip to content

Commit 7a19c30

Browse files
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 setuptools ≥ 77.0, or perhaps setuptools ≥ 77.0.3 which irons out some bugs: https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license-and-license-files
1 parent 51f15fa commit 7a19c30

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,16 +1,16 @@
11
[build-system]
2-
requires = ["setuptools>=61.2.0", "setuptools_scm[toml]>=3.4.3"]
2+
requires = ["setuptools>=77.0.3", "setuptools_scm[toml]>=3.4.3"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "tabulate"
77
authors = [{name = "Sergey Astanin", email = "[email protected]"}]
8-
license = {text = "MIT"}
8+
license = "MIT"
9+
license-files = ["LICENSE"]
910
description = "Pretty-print tabular data"
1011
readme = "README.md"
1112
classifiers = [
1213
"Development Status :: 4 - Beta",
13-
"License :: OSI Approved :: MIT License",
1414
"Operating System :: OS Independent",
1515
"Programming Language :: Python :: 3",
1616
"Programming Language :: Python :: 3.9",

0 commit comments

Comments
 (0)