1- [tool . poetry ]
1+ [project ]
22name = " Hypercorn"
33version = " 0.17.3"
44description = " A ASGI Server based on Hyper libraries and inspired by Gunicorn"
5- authors = [" pgjones <philip.graham.jones@googlemail.com>" ]
5+ authors = [
6+ {name = " pgjones" , email = " philip.graham.jones@googlemail.com" },
7+ ]
68classifiers = [
79 " Development Status :: 4 - Beta" ,
810 " Environment :: Web Environment" ,
@@ -20,45 +22,42 @@ classifiers = [
2022 " Topic :: Software Development :: Libraries :: Python Modules" ,
2123]
2224include = [" src/hypercorn/py.typed" ]
23- license = " MIT"
25+ license = { text = " MIT" }
2426readme = " README.rst"
2527repository = " https://github.com/pgjones/hypercorn/"
28+ dependencies = [
29+ " exceptiongroup >= 1.1.0; python_version < '3.11'" ,
30+ " h11" ,
31+ " h2 >= 3.1.0" ,
32+ " priority" ,
33+ " taskgroup; python_version < '3.11'" ,
34+ " tomli; python_version < '3.11'" ,
35+ " typing_extensions; python_version < '3.11'" ,
36+ " wsproto >= 0.14.0"
37+ ]
2638documentation = " https://hypercorn.readthedocs.io"
39+ requires-python = " >=3.8"
2740
28- [tool .poetry .dependencies ]
29- python = " >=3.8"
30- aioquic = { version = " >= 0.9.0, < 1.0" , optional = true }
31- exceptiongroup = { version = " >= 1.1.0" , python = " <3.11" }
32- h11 = " *"
33- h2 = " >=3.1.0"
34- priority = " *"
35- pydata_sphinx_theme = { version = " *" , optional = true }
36- sphinxcontrib_mermaid = { version = " *" , optional = true }
37- taskgroup = { version = " *" , python = " <3.11" , allow-prereleases = true }
38- tomli = { version = " *" , python = " <3.11" }
39- trio = { version = " >=0.22.0" , optional = true }
40- typing_extensions = { version = " *" , python = " <3.11" }
41- uvloop = { version = " >=0.18" , markers = " platform_system != 'Windows'" , optional = true }
42- wsproto = " >=0.14.0"
43-
44- [tool .poetry .dev-dependencies ]
45- httpx = " *"
46- hypothesis = " *"
47- mock = " *"
48- pytest = " *"
49- pytest-asyncio = " *"
50- pytest-trio = " *"
51- trio = " *"
52-
53- [tool .poetry .scripts ]
54- hypercorn = " hypercorn.__main__:main"
55-
56- [tool .poetry .extras ]
41+ [project .optional-dependencies ]
5742docs = [" pydata_sphinx_theme" , " sphinxcontrib_mermaid" ]
58- h3 = [" aioquic" ]
43+ h3 = [" aioquic >= 0.9.0 " ]
5944trio = [" trio" ]
6045uvloop = [" uvloop" ]
6146
47+ [dependency-groups ]
48+ dev = [
49+ " httpx" ,
50+ " hypothesis" ,
51+ " mock" ,
52+ " pytest" ,
53+ " pytest-asyncio" ,
54+ " pytest-trio" ,
55+ " trio"
56+ ]
57+
58+ [project .scripts ]
59+ hypercorn = " hypercorn.__main__:main"
60+
6261[tool .black ]
6362line-length = 100
6463target-version = [" py38" ]
@@ -108,5 +107,5 @@ asyncio_mode = "strict"
108107testpaths = [" tests" ]
109108
110109[build-system ]
111- requires = [" poetry-core>=1.0.0 " ]
112- build-backend = " poetry.core.masonry.api "
110+ requires = [" pdm-backend " ]
111+ build-backend = " pdm.backend "
0 commit comments