From d14d775a13b52dcbc9e9d80ef5189bb9501c55dd Mon Sep 17 00:00:00 2001 From: Klaas van Schelven Date: Tue, 1 Apr 2025 20:15:13 +0200 Subject: [PATCH] Fix the build for modern setuptools --- pyproject.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b0ec4c38a..2849bd1fe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", @@ -75,7 +75,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}