<commit_before>from setuptools import setup


def read_file(fname):
    with open(fname) as f:
        return f.read()


setup(
    name='pytest-testrail',
    description='pytest plugin for creating TestRail runs and adding results',
    long_description=read_file('README.rst'),
    version='0.0.11',
    author='<NAME>',
    author_email='<EMAIL>',
    url='http://github.com/allankilpatrick/pytest-testrail/',
    packages=[
        'pytest_testrail',
    ],
    package_dir={'pytest_testrail': 'pytest_testrail'},
    install_requires=[
        'pytest==3.1.2',
        'configparser==3.5.0',
        'requests==2.18.1',
        'simplejson==3.11.1',
    ],
    include_package_data=True,
    entry_points={'pytest11': ['pytest-testrail = pytest_testrail.conftest']},
)<commit_msg>don't install 3rd party configparser module if python3<commit_after>import sys

from setuptools import setup


def read_file(fname):
    with open(fname) as f:
        return f.read()


requirements = [
        'pytest==3.1.2',
        'requests==2.18.1',
        'simplejson==3.11.1',
]
if sys.version_info.major == 2:
    requirements.append('configparser==3.5.0')


setup(
    name='pytest-testrail',
    description='pytest plugin for creating TestRail runs and adding results',
    long_description=read_file('README.rst'),
    version='0.0.11',
    author='<NAME>',
    author_email='<EMAIL>',
    url='http://github.com/allankilpatrick/pytest-testrail/',
    packages=[
        'pytest_testrail',
    ],
    package_dir={'pytest_testrail': 'pytest_testrail'},
    install_requires=requirements,
    include_package_data=True,
    entry_points={'pytest11': ['pytest-testrail = pytest_testrail.conftest']},
)
{'fraction_non_alphanumeric': 0.15126545026486168, 'fraction_numerical': 0.025309005297233667, 'mean_word_length': 3.582210242587601, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, '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': '1229708', 'n_tokens_mistral': 611, 'n_tokens_neox': 602, 'n_words': 95}