Fixed setuptools configuration

Port correct configuration from old setup.cfg file.

Regression in #542. Fixes #557.
This commit is contained in:
Carlton Gibson 2025-06-17 09:51:50 +02:00
parent 03e0c8f20c
commit 1fb7df7585

View File

@ -55,7 +55,7 @@ requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ["daphne"]
package-dir = { daphne = "daphne", twisted = "daphne/twisted" }
[tool.setuptools.dynamic]
version = { attr = "daphne.__version__" }