Skip to content

Commit b372324

Browse files
committed
Fix license config deprecation warnings
They switched to a new format for licenses. See: https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
1 parent f8e5d76 commit b372324

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

pyproject.toml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
[build-system]
2-
requires = ["setuptools>=68.2.2", "setuptools-scm", "wheel"]
3-
build-backend = "setuptools.build_meta"
4-
51
[project]
62
name = "maxminddb"
73
version = "2.6.3"
@@ -11,13 +7,12 @@ authors = [
117
]
128
requires-python = ">=3.9"
139
readme = "README.rst"
14-
license = {text = "Apache License, Version 2.0"}
10+
license = "Apache-2.0"
1511
classifiers = [
1612
"Development Status :: 5 - Production/Stable",
1713
"Environment :: Web Environment",
1814
"Intended Audience :: Developers",
1915
"Intended Audience :: System Administrators",
20-
"License :: OSI Approved :: Apache Software License",
2116
"Programming Language :: Python",
2217
"Programming Language :: Python :: 3",
2318
"Programming Language :: Python :: 3.9",
@@ -46,6 +41,14 @@ lint = [
4641
"ruff>=0.11.6",
4742
]
4843

44+
[build-system]
45+
requires = [
46+
"setuptools>=77.0.3",
47+
"setuptools-scm",
48+
"wheel",
49+
]
50+
build-backend = "setuptools.build_meta"
51+
4952
[tool.setuptools.package-data]
5053
maxminddb = ["py.typed"]
5154

0 commit comments

Comments
 (0)