<commit_before>from importlib.machinery import SourceFileLoader
from setuptools import setup

long_description = """
|Build Status| |Coverage|

Job queues and RPC in python with asyncio, redis and msgpack.

See `github <https://github.com/samuelcolvin/arq>`__ for more details.

.. |Build Status| image:: https://travis-ci.org/samuelcolvin/arq.svg?branch=master
   :target: https://travis-ci.org/samuelcolvin/arq
.. |Coverage| image:: https://codecov.io/github/samuelcolvin/arq/coverage.svg?branch=master
   :target: https://codecov.io/github/samuelcolvin/arq?branch=master
"""

# avoid loading the package before requirements are installed:
version = SourceFileLoader('version', 'arq/version.py').load_module()

setup(
    name='arq',
    version=str(version.VERSION),
    description='Job queues in python with asyncio, redis and msgpack.',
    long_description=long_description,
    classifiers=[
        'Development Status :: 4 - Beta',
        'Environment :: Console',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.5',
        'Intended Audience :: Developers',
        'Intended Audience :: Information Technology',
        'Intended Audience :: System Administrators',
        'License :: OSI Approved :: MIT License',
        'Operating System :: Unix',
        'Operating System :: POSIX :: Linux',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'Topic :: Internet',
        'Topic :: System :: Clustering',
        'Topic :: System :: Distributed Computing',
        'Topic :: System :: Systems Administration',
        'Topic :: System :: Monitoring',
    ],
    author='<NAME>',
    author_email='<EMAIL>',
    url='https://github.com/samuelcolvin/arq',
    license='MIT',
    packages=['arq'],
    zip_safe=True,
    entry_points="""
        [console_scripts]
        arq=arq.cli:cli
    """,
    install_requires=[
        'aioredis>=0.2.8',
        'click>=6.6',
        'msgpack-python>=0.4.8',
    ],
    extras_require={
        'testing': ['pytest>=2.9.2'],
    },
)
<commit_msg>use README.rst in setup<commit_after>from pathlib import Path

from importlib.machinery import SourceFileLoader
from setuptools import setup

with Path(__file__).resolve().parent.joinpath('README.rst').open() as f:
    long_description = f.read()

# avoid loading the package before requirements are installed:
version = SourceFileLoader('version', 'arq/version.py').load_module()

setup(
    name='arq',
    version=str(version.VERSION),
    description='Job queues in python with asyncio, redis and msgpack.',
    long_description=long_description,
    classifiers=[
        'Development Status :: 4 - Beta',
        'Environment :: Console',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.5',
        'Intended Audience :: Developers',
        'Intended Audience :: Information Technology',
        'Intended Audience :: System Administrators',
        'License :: OSI Approved :: MIT License',
        'Operating System :: Unix',
        'Operating System :: POSIX :: Linux',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'Topic :: Internet',
        'Topic :: System :: Clustering',
        'Topic :: System :: Distributed Computing',
        'Topic :: System :: Systems Administration',
        'Topic :: System :: Monitoring',
    ],
    author='<NAME>',
    author_email='<EMAIL>',
    url='https://github.com/samuelcolvin/arq',
    license='MIT',
    packages=['arq'],
    zip_safe=True,
    entry_points="""
        [console_scripts]
        arq=arq.cli:cli
    """,
    install_requires=[
        'aioredis>=0.2.8',
        'click>=6.6',
        'msgpack-python>=0.4.8',
    ],
    extras_require={
        'testing': ['pytest>=2.9.2'],
    },
)

{'fraction_non_alphanumeric': 0.14670428314952552, 'fraction_numerical': 0.007694280584765324, 'mean_word_length': 3.0414507772020727, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 16, 'https://': 7, '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': '3325177', 'n_tokens_mistral': 1165, 'n_tokens_neox': 1139, 'n_words': 267}