<commit_before>import re
import sys
import codecs
from os import path

from setuptools import find_packages, setup


def read(*parts):
    file_path = path.join(path.dirname(__file__), *parts)
    return codecs.open(file_path, encoding='utf-8').read()

with open('rmoq/__init__.py', 'r') as fd:
    version = re.search(
        r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
        fd.read(),
        re.MULTILINE
    ).group(1)

try:
    from semantic_release import setup_hook
    setup_hook(sys.argv)
except ImportError:
    pass

setup(
    name='rmoq',
    version=version,
    url='http://github.com/relekang/rmoq',
    author='<NAME>',
    author_email='<EMAIL>',
    description='A simple request-mocker that will download',
    long_description=read('README.rst'),
    packages=find_packages(exclude='tests'),
    install_requires=[
        'mock==1.0.1',
        'six==1.9.0',
        'requests',
    ],
    license='MIT',
    include_package_data=True,
    classifiers=[
        "Programming Language :: Python",
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.4',
    ]
)
<commit_msg>fix: Use ranges for dependencies<commit_after>import re
import sys
import codecs
from os import path

from setuptools import find_packages, setup


def read(*parts):
    file_path = path.join(path.dirname(__file__), *parts)
    return codecs.open(file_path, encoding='utf-8').read()

with open('rmoq/__init__.py', 'r') as fd:
    version = re.search(
        r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
        fd.read(),
        re.MULTILINE
    ).group(1)

try:
    from semantic_release import setup_hook
    setup_hook(sys.argv)
except ImportError:
    pass

setup(
    name='rmoq',
    version=version,
    url='http://github.com/relekang/rmoq',
    author='<NAME>',
    author_email='<EMAIL>',
    description='A simple request-mocker that will download',
    long_description=read('README.rst'),
    packages=find_packages(exclude='tests'),
    install_requires=[
        'mock~=1.0.1',
        'six>=1.9.0',
        'requests',
    ],
    license='MIT',
    include_package_data=True,
    classifiers=[
        "Programming Language :: Python",
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.4',
    ]
)

{'fraction_non_alphanumeric': 0.15977361776229865, 'fraction_numerical': 0.01044841097083152, 'mean_word_length': 3.110912343470483, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6280899', 'n_tokens_mistral': 779, 'n_tokens_neox': 765, 'n_words': 154}