|
| 1 | +[project] |
| 2 | +name = "daphne" |
| 3 | +dynamic = ["version"] |
| 4 | +description = "Django ASGI (HTTP/WebSocket) server" |
| 5 | +requires-python = ">=3.9" |
| 6 | +authors = [ |
| 7 | + { name = "Django Software Foundation", email = "[email protected]" }, |
| 8 | +] |
| 9 | + |
| 10 | +license = { text = "BSD" } |
| 11 | +classifiers = [ |
| 12 | + "Development Status :: 4 - Beta", |
| 13 | + "Environment :: Web Environment", |
| 14 | + "Intended Audience :: Developers", |
| 15 | + "License :: OSI Approved :: BSD License", |
| 16 | + "Operating System :: OS Independent", |
| 17 | + "Programming Language :: Python", |
| 18 | + "Programming Language :: Python :: 3", |
| 19 | + "Programming Language :: Python :: 3.9", |
| 20 | + "Programming Language :: Python :: 3.10", |
| 21 | + "Programming Language :: Python :: 3.11", |
| 22 | + "Programming Language :: Python :: 3.12", |
| 23 | + "Programming Language :: Python :: 3.13", |
| 24 | + "Topic :: Internet :: WWW/HTTP", |
| 25 | +] |
| 26 | + |
| 27 | +dependencies = ["asgiref>=3.5.2,<4", "autobahn>=22.4.2", "twisted[tls]>=22.4"] |
| 28 | + |
| 29 | +[project.optional-dependencies] |
| 30 | +tests = [ |
| 31 | + "django", |
| 32 | + "hypothesis", |
| 33 | + "pytest", |
| 34 | + "pytest-asyncio", |
| 35 | + "pytest-cov", |
| 36 | + "black", |
| 37 | + "tox", |
| 38 | + "flake8", |
| 39 | + "flake8-bugbear", |
| 40 | + "mypy", |
| 41 | +] |
| 42 | + |
| 43 | +[project.urls] |
| 44 | +homepage = "https://github.com/django/daphne" |
| 45 | +documentation = "https://channels.readthedocs.io" |
| 46 | +repository = "https://github.com/django/daphne.git" |
| 47 | +changelog = "https://github.com/django/daphne/blob/main/CHANGELOG.txt" |
| 48 | +issues = "https://github.com/django/daphne/issues" |
| 49 | + |
| 50 | +[project.scripts] |
| 51 | +daphne = "daphne.cli:CommandLineInterface.entrypoint" |
| 52 | + |
1 | 53 | [build-system]
|
2 | 54 | requires = ["setuptools"]
|
3 | 55 | build-backend = "setuptools.build_meta"
|
| 56 | + |
| 57 | +[tool.setuptools] |
| 58 | +packages = ["daphne"] |
| 59 | + |
| 60 | +[tool.setuptools.dynamic] |
| 61 | +version = { attr = "daphne.__version__" } |
| 62 | +readme = { file = "README.rst", content-type = "text/x-rst" } |
| 63 | + |
| 64 | +[tool.isort] |
| 65 | +profile = "black" |
| 66 | + |
| 67 | +[tool.pytest] |
| 68 | +testpaths = ["tests"] |
| 69 | +asyncio_mode = "strict" |
| 70 | +filterwarnings = ["ignore::pytest.PytestDeprecationWarning"] |
| 71 | + |
| 72 | +[tool.coverage.run] |
| 73 | +omit = ["tests/*"] |
| 74 | +concurrency = ["multiprocessing"] |
| 75 | + |
| 76 | +[tool.coverage.report] |
| 77 | +show_missing = "true" |
| 78 | +skip_covered = "true" |
| 79 | + |
| 80 | +[tool.coverage.html] |
| 81 | +directory = "reports/coverage_html_report" |
0 commit comments