<commit_before>import os

from setuptools import find_packages, setup

from daphne import __version__

# We use the README as the long_description
readme_path = os.path.join(os.path.dirname(__file__), "README.rst")
with open(readme_path) as fp:
    long_description = fp.read()

setup(
    name="daphne",
    version=__version__,
    url="https://github.com/django/daphne",
    author="Django Software Foundation",
    author_email="<EMAIL>",
    description="Django ASGI (HTTP/WebSocket) server",
    long_description=long_description,
    license="BSD",
    zip_safe=False,
    package_dir={"twisted": "daphne/twisted"},
    packages=find_packages() + ["twisted.plugins"],
    include_package_data=True,
    install_requires=[
        "asgiref~=2.0",
        "twisted>=17.5",
        "autobahn>=0.18",
    ],
    setup_requires=[
        "pytest-runner",
    ],
    extras_require={
        "tests": [
            "hypothesis",
            "pytest",
            "pytest-asyncio~=0.8",
        ],
    },
    entry_points={"console_scripts": [
        "daphne = daphne.cli:CommandLineInterface.entrypoint",
    ]},<commit_msg>Fix #180: asgiref is not a required dependency<commit_after>import os

from setuptools import find_packages, setup

from daphne import __version__

# We use the README as the long_description
readme_path = os.path.join(os.path.dirname(__file__), "README.rst")
with open(readme_path) as fp:
    long_description = fp.read()

setup(
    name="daphne",
    version=__version__,
    url="https://github.com/django/daphne",
    author="Django Software Foundation",
    author_email="<EMAIL>",
    description="Django ASGI (HTTP/WebSocket) server",
    long_description=long_description,
    license="BSD",
    zip_safe=False,
    package_dir={"twisted": "daphne/twisted"},
    packages=find_packages() + ["twisted.plugins"],
    include_package_data=True,
    install_requires=[
        "twisted>=17.5",
        "autobahn>=0.18",
    ],
    setup_requires=[
        "pytest-runner",
    ],
    extras_require={
        "tests": [
            "hypothesis",
            "pytest",
            "pytest-asyncio~=0.8",
        ],
    },
    entry_points={"console_scripts": [
        "daphne = daphne.cli:CommandLineInterface.entrypoint",
    ]},
{'fraction_non_alphanumeric': 0.13799203892083148, 'fraction_numerical': 0.009287925696594427, 'mean_word_length': 3.142857142857143, 'pattern_counts': {'":': 6, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1383968', 'n_tokens_mistral': 762, 'n_tokens_neox': 748, 'n_words': 128}