-
Notifications
You must be signed in to change notification settings - Fork 181
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (77 loc) · 2.65 KB
/
pyproject.toml
File metadata and controls
87 lines (77 loc) · 2.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "waitress"
version = "3.0.2"
authors = [{ name = "Zope Foundation and Contributors", email = "zope-dev@zope.org" }]
maintainers = [{ name = "Pylons Project", email = "pylons-discuss@googlegroups.com" }]
description = "Waitress WSGI server"
requires-python = ">=3.9"
keywords = ["waitress", "wsgi", "server", "http"]
license = "ZPL-2.1"
classifiers = [
"Development Status :: 6 - Mature",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Operating System :: OS Independent",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI",
]
dynamic = ["readme"]
[project.urls]
Repository = "https://github.com/Pylons/waitress"
Documentation = "https://docs.pylonsproject.org/projects/waitress/en/latest/index.html"
Changelog = "https://docs.pylonsproject.org/projects/waitress/en/latest/index.html#change-history"
Issues = "https://github.com/Pylons/waitress/issues"
[project.scripts]
waitress-serve = "waitress.runner:run"
[project.entry-points."paste.server_runner"]
main = "waitress:serve_paste"
[project.optional-dependencies]
testing = ["pytest", "pytest-cov", "coverage>=7.6.0"]
docs = ["Sphinx>=1.8.1", "docutils", "pylons-sphinx-themes>=1.0.9"]
[tool.setuptools.packages.find]
where = ["src"]
namespaces = false
[tool.setuptools.dynamic]
readme = { file = ["README.rst", "CHANGES.txt"] }
[tool.black]
target-version = ['py39', 'py310', 'py311', 'py312', 'py313', 'py314']
exclude = '''
/(
\.git
| .tox
)/
'''
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
# For the benefit of test_wasyncore.py
python_classes = ["Test*"]
addopts = "--cov -W always"
# This next section only exists for people that have their editors
# automatically call isort, black already sorts entries on its own when run.
[tool.isort]
profile = "black"
multi_line_output = 3
src_paths = ["src", "tests"]
skip_glob = ["docs/*"]
include_trailing_comma = true
force_grid_wrap = false
combine_as_imports = true
line_length = 88
force_sort_within_sections = true
default_section = "THIRDPARTY"
known_first_party = "waitress"