Skip to content

Commit 02d3dd8

Browse files
authored
Merge pull request #3063 from deronnax/migrate-to-pyproject-toml
Migrate to pyproject toml
2 parents 430dcdd + fdd23e8 commit 02d3dd8

File tree

3 files changed

+80
-124
lines changed

3 files changed

+80
-124
lines changed

pyproject.toml

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
[build-system]
2+
requires = ["setuptools>=61.2"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "gunicorn"
7+
authors = [{name = "Benoit Chesneau", email = "[email protected]"}]
8+
license = {text = "MIT"}
9+
description = "WSGI HTTP Server for UNIX"
10+
readme = "README.rst"
11+
classifiers = [
12+
"Development Status :: 5 - Production/Stable",
13+
"Environment :: Other Environment",
14+
"Intended Audience :: Developers",
15+
"License :: OSI Approved :: MIT License",
16+
"Operating System :: MacOS :: MacOS X",
17+
"Operating System :: POSIX",
18+
"Programming Language :: Python",
19+
"Programming Language :: Python :: 3",
20+
"Programming Language :: Python :: 3.5",
21+
"Programming Language :: Python :: 3.6",
22+
"Programming Language :: Python :: 3.7",
23+
"Programming Language :: Python :: 3.8",
24+
"Programming Language :: Python :: 3.9",
25+
"Programming Language :: Python :: 3.10",
26+
"Programming Language :: Python :: 3.11",
27+
"Programming Language :: Python :: 3 :: Only",
28+
"Programming Language :: Python :: Implementation :: CPython",
29+
"Programming Language :: Python :: Implementation :: PyPy",
30+
"Topic :: Internet",
31+
"Topic :: Utilities",
32+
"Topic :: Software Development :: Libraries :: Python Modules",
33+
"Topic :: Internet :: WWW/HTTP",
34+
"Topic :: Internet :: WWW/HTTP :: WSGI",
35+
"Topic :: Internet :: WWW/HTTP :: WSGI :: Server",
36+
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
37+
]
38+
requires-python = ">=3.5"
39+
dependencies = [
40+
'importlib_metadata; python_version<"3.8"',
41+
"packaging",
42+
]
43+
dynamic = ["version"]
44+
45+
[project.urls]
46+
Homepage = "https://gunicorn.org"
47+
Documentation = "https://docs.gunicorn.org"
48+
"Issue tracker" = "https://github.com/benoitc/gunicorn/issues"
49+
"Source code" = "https://github.com/benoitc/gunicorn"
50+
51+
[project.optional-dependencies]
52+
gevent = ["gevent>=1.4.0"]
53+
eventlet = ["eventlet>=0.24.1"]
54+
tornado = ["tornado>=0.2"]
55+
gthread = []
56+
setproctitle = ["setproctitle"]
57+
testing = [
58+
"gevent",
59+
"eventlet",
60+
"cryptography",
61+
"coverage",
62+
"pytest",
63+
"pytest-cov",
64+
]
65+
66+
[tool.pytest.ini_options]
67+
norecursedirs = ["examples", "lib", "local", "src"]
68+
testpaths = ["tests/"]
69+
addopts = "--assert=plain --cov=gunicorn --cov-report=xml"
70+
71+
[tool.setuptools]
72+
zip-safe = false
73+
include-package-data = true
74+
license-files = ["['LICENSE']"]
75+
76+
[tool.setuptools.packages]
77+
find = {namespaces = false}
78+
79+
[tool.setuptools.dynamic]
80+
version = {attr = "gunicorn.__version__"}

setup.cfg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,3 @@
22
norecursedirs = examples lib local src
33
testpaths = tests/
44
addopts = --assert=plain --cov=gunicorn --cov-report=xml
5-
6-
[metadata]
7-
license_files = ['LICENSE']

setup.py

Lines changed: 0 additions & 121 deletions
This file was deleted.

0 commit comments

Comments
 (0)