<commit_before>from setuptools import setup, find_packages
import io
import versioneer

def readme():
    with io.open('README.md', encoding="utf-8") as f:
        return f.read()

def pip_requirements(fname='requirements.txt'):
    with open(fname, 'r') as f:
        for line in f:
            line = line.strip()
            if not line or line.startswith('#'):
                continue
            reqs.append(line)
    return reqs

reqs = [line.strip() for line in open('requirements.txt')]

setup(
    name                 = "compliance-checker",
    version              = versioneer.get_version(),
    description          = "Checks Datasets and SOS endpoints for standards compliance",
    long_description     = readme(),
    long_description_content_type="text/markdown",
    license              = 'Apache License 2.0',
    author               = "<NAME>",
    author_email         = "<EMAIL>",
    url                  = "https://github.com/ioos/compliance-checker",
    packages             = find_packages(),
    install_requires     = pip_requirements(),
    tests_require        = ['pytest'],
    classifiers          = [
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
        'Intended Audience :: Science/Research',
        'License :: OSI Approved :: Apache Software License',
        'Operating System :: POSIX :: Linux',
        'Operating System :: MacOS :: MacOS X',
        'Operating System :: Microsoft :: Windows',
        'Programming Language :: Python',
        'Topic :: Scientific/Engineering',
    ],
    include_package_data = True,
    scripts=['cchecker.py'],

    # Note: Do not use colons in the entry-point keys. Python 3 reserves
    # portions of the key after a colon for special use.

    # Note: The entry point names are not used at all. All methods in the
    # compliance checker use class attributes to determine the checker's name<commit_msg>limit to python >=3.5<commit_after>from setuptools import setup, find_packages
import io
import versioneer

def readme():
    with io.open('README.md', encoding="utf-8") as f:
        return f.read()

def pip_requirements(fname='requirements.txt'):
    with open(fname, 'r') as f:
        for line in f:
            line = line.strip()
            if not line or line.startswith('#'):
                continue
            reqs.append(line)
    return reqs

reqs = [line.strip() for line in open('requirements.txt')]

setup(
    name                 = "compliance-checker",
    version              = versioneer.get_version(),
    description          = "Checks Datasets and SOS endpoints for standards compliance",
    long_description     = readme(),
    long_description_content_type="text/markdown",
    license              = 'Apache License 2.0',
    author               = "<NAME>",
    author_email         = "<EMAIL>",
    url                  = "https://github.com/ioos/compliance-checker",
    packages             = find_packages(),
    install_requires     = pip_requirements(),
    python_requires      = "~=3.5",
    tests_require        = ['pytest'],
    classifiers          = [
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
        'Intended Audience :: Science/Research',
        'License :: OSI Approved :: Apache Software License',
        'Operating System :: POSIX :: Linux',
        'Operating System :: MacOS :: MacOS X',
        'Operating System :: Microsoft :: Windows',
        'Programming Language :: Python',
        'Topic :: Scientific/Engineering',
    ],
    include_package_data = True,
    scripts=['cchecker.py'],

    # Note: Do not use colons in the entry-point keys. Python 3 reserves
    # portions of the key after a colon for special use.

    # Note: The entry point names are not used at all. All methods in the
    # compliance checker use class attributes to determine the checker's name
{'fraction_non_alphanumeric': 0.1083969465648855, 'fraction_numerical': 0.0035623409669211198, 'mean_word_length': 2.2813021702838063, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 8, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5943926', 'n_tokens_mistral': 1096, 'n_tokens_neox': 1051, 'n_words': 330}