2
0
Эх сурвалжийг харах

pyproject.toml: fix warnings

Jelmer Vernooij 2 сар өмнө
parent
commit
5249a5e1f7
1 өөрчлөгдсөн 3 нэмэгдсэн , 4 устгасан
  1. 3 4
      pyproject.toml

+ 3 - 4
pyproject.toml

@@ -1,5 +1,5 @@
 [build-system]
-requires = ["setuptools>=61.2"]
+requires = ["setuptools>=77.0.0"]
 build-backend = "setuptools.build_meta"
 
 [project]
@@ -7,11 +7,10 @@ name = "dulwich"
 description = "Python Git Library"
 readme = "README.rst"
 authors = [{name = "Jelmer Vernooij", email = "jelmer@jelmer.uk"}]
-license = {text = "Apachev2 or later or GPLv2"}
+license = "Apache-2.0 OR GPL-2.0-or-later"
 keywords = ["vcs", "git"]
 classifiers = [
     "Development Status :: 4 - Beta",
-    "License :: OSI Approved :: Apache Software License",
     "Programming Language :: Python :: 3.9",
     "Programming Language :: Python :: 3.10",
     "Programming Language :: Python :: 3.11",
@@ -28,6 +27,7 @@ dependencies = [
     "urllib3>=1.25",
 ]
 dynamic = ["version"]
+license-files = ["COPYING"]
 
 [project.urls]
 Homepage = "https://www.dulwich.io/"
@@ -65,7 +65,6 @@ script-files = [
     "bin/dul-receive-pack",
     "bin/dul-upload-pack",
 ]
-license-files = ["COPYING"]
 
 [tool.setuptools.dynamic]
 version = {attr = "dulwich.__version__"}