<commit_before>import os
from setuptools import setup, find_packages
from ws4redis import __version__

DESCRIPTION = 'Websocket support for Django using Redis as datastore'

CLASSIFIERS = [
    'Environment :: Web Environment',
    'Framework :: Django',
    'Intended Audience :: Developers',
    'License :: OSI Approved :: MIT License',
    'Operating System :: OS Independent',
    'Programming Language :: Python',
    'Topic :: Software Development :: Libraries :: Python Modules',
    'Development Status :: 4 - Beta',
]


def read(fname):
    readme_file = os.path.join(os.path.dirname(__file__), fname)
    return os.popen('pandoc -t rst {0}'.format(readme_file)).read()


setup(
    name='django-websocket-redis',
    version=__version__,
    author='<NAME>',
    author_email='<EMAIL>',
    description=DESCRIPTION,
    long_description=read('README.md'),
    url='https://github.com/jrief/django-websocket-redis',
    license='MIT',
    keywords=['django', 'websocket', 'redis'],
    platforms=['OS Independent'],
    classifiers=CLASSIFIERS,
    packages=find_packages(exclude=['examples', 'docs']),
    include_package_data=True,
    install_requires=[
        'Django>=1.5',
        'uWSGI>=1.9.20',
        'setuptools',
        'redis',
        'gevent',
        'greenlet',
        # optional 'wsaccel'
    ],
)<commit_msg>Added extras_require for optional dependencies<commit_after>import os
from setuptools import setup, find_packages
from ws4redis import __version__

DESCRIPTION = 'Websocket support for Django using Redis as datastore'

CLASSIFIERS = [
    'Environment :: Web Environment',
    'Framework :: Django',
    'Intended Audience :: Developers',
    'License :: OSI Approved :: MIT License',
    'Operating System :: OS Independent',
    'Programming Language :: Python',
    'Topic :: Software Development :: Libraries :: Python Modules',
    'Development Status :: 4 - Beta',
]


def read(fname):
    readme_file = os.path.join(os.path.dirname(__file__), fname)
    return os.popen('pandoc -t rst {0}'.format(readme_file)).read()


setup(
    name='django-websocket-redis',
    version=__version__,
    author='<NAME>',
    author_email='<EMAIL>',
    description=DESCRIPTION,
    long_description=read('README.md'),
    url='https://github.com/jrief/django-websocket-redis',
    license='MIT',
    keywords=['django', 'websocket', 'redis'],
    platforms=['OS Independent'],
    classifiers=CLASSIFIERS,
    packages=find_packages(exclude=['examples', 'docs']),
    include_package_data=True,
    install_requires=[
        'Django>=1.5',
        'setuptools',
        'redis',
        'gevent',
        'greenlet',
    ],
    extras_require={
        'uwsgi':  ['uWSGI>=1.9.20'],
        'wsaccel': ['wsaccel>=0.6.2'],
    },
)
{'fraction_non_alphanumeric': 0.14900542495479205, 'fraction_numerical': 0.007594936708860759, 'mean_word_length': 3.61, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 12, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3150178', 'n_tokens_mistral': 901, 'n_tokens_neox': 874, 'n_words': 182}