diff --git a/setup.cfg b/setup.cfg index cdde703..9c0374b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -24,9 +24,7 @@ classifiers = Topic :: Internet :: WWW/HTTP [options] -package_dir = - twisted=daphne/twisted -packages = find: +packages = find_namespace: include_package_data = True install_requires = asgiref>=3.5.2,<4 @@ -48,6 +46,11 @@ tests = pytest pytest-asyncio +[options.packages.find] +include= + daphne.* + twisted.* + [flake8] exclude = venv/*,tox/*,docs/*,testproject/*,js_client/*,.eggs/* extend-ignore = E123, E128, E266, E402, W503, E731, W601 diff --git a/daphne/twisted/plugins/fd_endpoint.py b/twisted/plugins/fd_endpoint.py similarity index 100% rename from daphne/twisted/plugins/fd_endpoint.py rename to twisted/plugins/fd_endpoint.py