<commit_before>import os
import re
from setuptools import setup

NAME = "influxalchemy"
AUTHOR = "amancevice"
EMAIL = "<EMAIL>"
DESC = "Interact with InfluxDB using SQLAlchemy-style syntax"
LONG = """See GitHub_ for documentation.
.. _GitHub: https://github.com/amancevice/influxalchemy"""
CLASSIFIERS = [
    "Development Status :: 3 - Alpha",
    "Intended Audience :: Developers",
    "License :: OSI Approved :: MIT License",
    "Operating System :: OS Independent",
    "Topic :: Utilities",
    "Programming Language :: Python :: 2",
    "Programming Language :: Python :: 2.7",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.4",
    "Programming Language :: Python :: 3.5",
    "Programming Language :: Python"]


def version():
    search = r"^__version__ *= *['\"]([0-9.]+)['\"]"
    initpy = open("./influxalchemy/__init__.py").read()
    return re.search(search, initpy, re.MULTILINE).group(1)

setup(
    name=NAME,
    version=version(),
    author=AUTHOR,
    author_email=EMAIL,
    packages=[NAME],
    url="http://www.smallweirdnumber.com",
    description=DESC,
    long_description=LONG,
    classifiers=CLASSIFIERS,
    install_requires=["pytz;python_version<'3.2'", "influxdb>=3.0.0"],
    test_suite="nose.collector")<commit_msg>Simplify setup.py<commit_after>import os
import re
from setuptools import setup

NAME = "influxalchemy"
AUTHOR = "amancevice"
EMAIL = "<EMAIL>"
DESC = "Interact with InfluxDB using SQLAlchemy-style syntax"
LONG = """See GitHub_ for documentation.
.. _GitHub: https://github.com/amancevice/influxalchemy"""
CLASSIFIERS = [
    "Development Status :: 3 - Alpha",
    "Intended Audience :: Developers",
    "License :: OSI Approved :: MIT License",
    "Operating System :: OS Independent",
    "Topic :: Utilities",
    "Programming Language :: Python :: 2",
    "Programming Language :: Python :: 2.7",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.4",
    "Programming Language :: Python :: 3.5",
    "Programming Language :: Python"]


def version():
    search = r"^__version__ *= *['\"]([0-9.]+)['\"]"
    initpy = open("./influxalchemy/__init__.py").read()
    return re.search(search, initpy, re.MULTILINE).group(1)

setup(
    name=NAME,
    version=version(),
    author=AUTHOR,
    author_email=EMAIL,
    packages=[NAME],
    url="http://www.smallweirdnumber.com",
    description=DESC,
    long_description=LONG,
    classifiers=CLASSIFIERS,
    install_requires=["pytz", "influxdb>=3.0.0"],
    test_suite="nose.collector")
{'fraction_non_alphanumeric': 0.16165560327996875, 'fraction_numerical': 0.012495119094103866, 'mean_word_length': 3.9269230769230767, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '387446', 'n_tokens_mistral': 868, 'n_tokens_neox': 829, 'n_words': 188}