build: Update license config to PEP 639 format for uv compatibility

This commit is contained in:
Benoit Chesneau 2026-01-23 00:51:32 +01:00
parent 3663895651
commit db3b0819dc

View File

@ -6,14 +6,14 @@ build-backend = "setuptools.build_meta"
# see https://packaging.python.org/en/latest/specifications/pyproject-toml/
name = "gunicorn"
authors = [{name = "Benoit Chesneau", email = "benoitc@gunicorn.org"}]
license = {text = "MIT"}
license = "MIT"
license-files = ["LICENSE"]
description = "WSGI HTTP Server for UNIX"
readme = "README.rst"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Other Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX",
"Programming Language :: Python",
@ -78,7 +78,6 @@ addopts = "--assert=plain --cov=gunicorn --cov-report=xml"
[tool.setuptools]
zip-safe = false
include-package-data = true
license-files = ["LICENSE"]
[tool.setuptools.packages]
find = {namespaces = false}