<commit_before>"""A setuptools based setup module for click_tutorial"""
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from codecs import open
from os import path
from setuptools import setup

import versioneer

here = path.abspath(path.dirname(__file__))

with open(path.join(here, 'README.rst'), encoding='utf-8') as readme_file:
    readme = readme_file.read()

test_requirements = [
    'mock',
    'pytest',
    'tox',
]

requirements = [
    'click>=6.0',
    'colorama',
    'importlib',
    'requests>=2.0',
    'httpbin',
    'pytest',
    'reqcli',
] + test_requirements

setup(
    name='click_tutorial',
    version=versioneer.get_version(),
    cmdclass=versioneer.get_cmdclass(),
    description="Tutorial for writing command line applications using click.",
    long_description=readme,
    author="<NAME>",
    author_email='<EMAIL>',
    url='https://github.com/tylerdave/click_tutorial',
    packages=['click_tutorial'],
    entry_points={
        'console_scripts':[
            'pytn=click_tutorial.cli:cli',
            'httpbin=click_tutorial.httpbin_runner:run_httpbin',
            'tutorial=click_tutorial.tutorial:cli',
            ],
        },
    include_package_data=True,
    install_requires=requirements,
    license="MIT",
    classifiers=[
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Natural Language :: English',
        "Programming Language :: Python :: 2",
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
    ],
    test_suite='tests',
    tests_require=test_requirements
)
<commit_msg>don't install importlib on py3x<commit_after>"""A setuptools based setup module for click_tutorial"""
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import sys
from codecs import open
from os import path
from setuptools import setup

import versioneer

here = path.abspath(path.dirname(__file__))

with open(path.join(here, 'README.rst'), encoding='utf-8') as readme_file:
    readme = readme_file.read()

test_requirements = [
    'mock',
    'pytest',
    'tox',
]

requirements = [
    'click>=6.0',
    'colorama',
    'requests>=2.0',
    'httpbin',
    'pytest',
    'reqcli',
] + test_requirements

python2_requirements = [
    'importlib',
    ]

if sys.version_info[0] == 2:
    requirements += python2_requirements

setup(
    name='click_tutorial',
    version=versioneer.get_version(),
    cmdclass=versioneer.get_cmdclass(),
    description="Tutorial for writing command line applications using click.",
    long_description=readme,
    author="<NAME>",
    author_email='<EMAIL>',
    url='https://github.com/tylerdave/click_tutorial',
    packages=['click_tutorial'],
    entry_points={
        'console_scripts':[
            'pytn=click_tutorial.cli:cli',
            'httpbin=click_tutorial.httpbin_runner:run_httpbin',
            'tutorial=click_tutorial.tutorial:cli',
            ],
        },
    include_package_data=True,
    install_requires=requirements,
    license="MIT",
    classifiers=[
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Natural Language :: English',
        "Programming Language :: Python :: 2",
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
    ],
    test_suite='tests',
    tests_require=test_requirements
)

{'fraction_non_alphanumeric': 0.1393709327548807, 'fraction_numerical': 0.010032537960954447, 'mean_word_length': 3.1589627959413753, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 2, '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': '3642550', 'n_tokens_mistral': 1195, 'n_tokens_neox': 1151, 'n_words': 234}