🌐 AI搜索 & 代理 主页
Skip to content

Commit 4cbc6a9

Browse files
authored
Bump setuptools and adjust license information (#2633)
The `project.license` entry in `pyproject.toml` should be a bare string now and the license tag is removed.
1 parent 06dbd41 commit 4cbc6a9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pyproject.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[build-system]
2-
requires = ["setuptools>=61", "wheel"]
2+
requires = ["setuptools>=80"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "pythonnet"
77
description = ".NET and Mono integration for Python"
8-
license = {text = "MIT"}
8+
license = "MIT"
99

1010
readme = "README.rst"
1111

@@ -18,7 +18,6 @@ requires-python = ">=3.10, <3.14"
1818
classifiers = [
1919
"Development Status :: 5 - Production/Stable",
2020
"Intended Audience :: Developers",
21-
"License :: OSI Approved :: MIT License",
2221
"Programming Language :: C#",
2322
"Programming Language :: Python :: 3",
2423
"Programming Language :: Python :: 3.7",
@@ -55,7 +54,6 @@ Sources = "https://github.com/pythonnet/pythonnet"
5554
[tool.setuptools]
5655
zip-safe = false
5756
py-modules = ["clr"]
58-
license-files = []
5957

6058
[tool.setuptools.dynamic.version]
6159
file = "version.txt"

0 commit comments

Comments
 (0)