mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
migrate to pyproject.toml
This commit is contained in:
parent
7033f27e28
commit
fdd23e8292
80
pyproject.toml
Normal file
80
pyproject.toml
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
[build-system]
|
||||||
|
requires = ["setuptools>=61.2"]
|
||||||
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
|
[project]
|
||||||
|
name = "gunicorn"
|
||||||
|
authors = [{name = "Benoit Chesneau", email = "benoitc@gunicorn.org"}]
|
||||||
|
license = {text = "MIT"}
|
||||||
|
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",
|
||||||
|
"Programming Language :: Python :: 3",
|
||||||
|
"Programming Language :: Python :: 3.5",
|
||||||
|
"Programming Language :: Python :: 3.6",
|
||||||
|
"Programming Language :: Python :: 3.7",
|
||||||
|
"Programming Language :: Python :: 3.8",
|
||||||
|
"Programming Language :: Python :: 3.9",
|
||||||
|
"Programming Language :: Python :: 3.10",
|
||||||
|
"Programming Language :: Python :: 3.11",
|
||||||
|
"Programming Language :: Python :: 3 :: Only",
|
||||||
|
"Programming Language :: Python :: Implementation :: CPython",
|
||||||
|
"Programming Language :: Python :: Implementation :: PyPy",
|
||||||
|
"Topic :: Internet",
|
||||||
|
"Topic :: Utilities",
|
||||||
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
||||||
|
"Topic :: Internet :: WWW/HTTP",
|
||||||
|
"Topic :: Internet :: WWW/HTTP :: WSGI",
|
||||||
|
"Topic :: Internet :: WWW/HTTP :: WSGI :: Server",
|
||||||
|
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
|
||||||
|
]
|
||||||
|
requires-python = ">=3.5"
|
||||||
|
dependencies = [
|
||||||
|
'importlib_metadata; python_version<"3.8"',
|
||||||
|
"packaging",
|
||||||
|
]
|
||||||
|
dynamic = ["version"]
|
||||||
|
|
||||||
|
[project.urls]
|
||||||
|
Homepage = "https://gunicorn.org"
|
||||||
|
Documentation = "https://docs.gunicorn.org"
|
||||||
|
"Issue tracker" = "https://github.com/benoitc/gunicorn/issues"
|
||||||
|
"Source code" = "https://github.com/benoitc/gunicorn"
|
||||||
|
|
||||||
|
[project.optional-dependencies]
|
||||||
|
gevent = ["gevent>=1.4.0"]
|
||||||
|
eventlet = ["eventlet>=0.24.1"]
|
||||||
|
tornado = ["tornado>=0.2"]
|
||||||
|
gthread = []
|
||||||
|
setproctitle = ["setproctitle"]
|
||||||
|
testing = [
|
||||||
|
"gevent",
|
||||||
|
"eventlet",
|
||||||
|
"cryptography",
|
||||||
|
"coverage",
|
||||||
|
"pytest",
|
||||||
|
"pytest-cov",
|
||||||
|
]
|
||||||
|
|
||||||
|
[tool.pytest.ini_options]
|
||||||
|
norecursedirs = ["examples", "lib", "local", "src"]
|
||||||
|
testpaths = ["tests/"]
|
||||||
|
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}
|
||||||
|
|
||||||
|
[tool.setuptools.dynamic]
|
||||||
|
version = {attr = "gunicorn.__version__"}
|
||||||
65
setup.cfg
65
setup.cfg
@ -2,68 +2,3 @@
|
|||||||
norecursedirs = examples lib local src
|
norecursedirs = examples lib local src
|
||||||
testpaths = tests/
|
testpaths = tests/
|
||||||
addopts = --assert=plain --cov=gunicorn --cov-report=xml
|
addopts = --assert=plain --cov=gunicorn --cov-report=xml
|
||||||
|
|
||||||
[metadata]
|
|
||||||
license_files = ['LICENSE']
|
|
||||||
name = gunicorn
|
|
||||||
version = attr: gunicorn.__version__
|
|
||||||
author = Benoit Chesneau
|
|
||||||
author_email = benoitc@gunicorn.org
|
|
||||||
license = MIT
|
|
||||||
description = WSGI HTTP Server for UNIX
|
|
||||||
url = https://gunicorn.org
|
|
||||||
long_description = file: 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
|
|
||||||
Programming Language :: Python :: 3
|
|
||||||
Programming Language :: Python :: 3.5
|
|
||||||
Programming Language :: Python :: 3.6
|
|
||||||
Programming Language :: Python :: 3.7
|
|
||||||
Programming Language :: Python :: 3.8
|
|
||||||
Programming Language :: Python :: 3.9
|
|
||||||
Programming Language :: Python :: 3.10
|
|
||||||
Programming Language :: Python :: 3.11
|
|
||||||
Programming Language :: Python :: 3 :: Only
|
|
||||||
Programming Language :: Python :: Implementation :: CPython
|
|
||||||
Programming Language :: Python :: Implementation :: PyPy
|
|
||||||
Topic :: Internet
|
|
||||||
Topic :: Utilities
|
|
||||||
Topic :: Software Development :: Libraries :: Python Modules
|
|
||||||
Topic :: Internet :: WWW/HTTP
|
|
||||||
Topic :: Internet :: WWW/HTTP :: WSGI
|
|
||||||
Topic :: Internet :: WWW/HTTP :: WSGI :: Server
|
|
||||||
Topic :: Internet :: WWW/HTTP :: Dynamic Content
|
|
||||||
project_urls =
|
|
||||||
Documentation = https://docs.gunicorn.org
|
|
||||||
Homepage = https://gunicorn.org
|
|
||||||
Issue tracker = https://github.com/benoitc/gunicorn/issues
|
|
||||||
Source code = https://github.com/benoitc/gunicorn
|
|
||||||
|
|
||||||
[options]
|
|
||||||
packages = find:
|
|
||||||
zip_safe = False
|
|
||||||
install_requires =
|
|
||||||
importlib_metadata; python_version<"3.8"
|
|
||||||
packaging
|
|
||||||
include_package_data = True
|
|
||||||
python_requires = >=3.5
|
|
||||||
tests_require =
|
|
||||||
gevent
|
|
||||||
eventlet
|
|
||||||
cryptography
|
|
||||||
coverage
|
|
||||||
pytest
|
|
||||||
pytest-cov
|
|
||||||
|
|
||||||
[options.extras_require]
|
|
||||||
gevent = gevent>=1.4.0
|
|
||||||
eventlet = eventlet>=0.24.1
|
|
||||||
tornado = tornado>=0.2
|
|
||||||
gthread =
|
|
||||||
setproctitle = setproctitle
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user