<commit_before>#!/usr/bin/env python
from setuptools import setup
import re
import sys


with open('evesrp/__init__.py', 'r') as f:
    init_contents = ''
    for line in f:
        init_contents += line + '\n'
version = re.search(r'^__version__ *= *u?[\'"]([^\'"]*)[\'"]', init_contents,
        re.MULTILINE)
if version:
    version = version.group(1)
else:
    raise Exception(u"Unable to find __version__ in evesrp/__init__.py")


test_requirements = [
    'beautifulsoup>=4.3.2',
    'coverage>=3.7.1',
    'httmock>=1.2.2',
    'nose>=1.3.4',
    'nose-htmloutput>=0.5.0',
]
# unittest.mock was added in 3.3, but is available as a backport as the 'mock'
# package on PyPI.
if sys.version_info.major < 3 or sys.version_info.minor < 3:
    test_requirements.append('mock>=1.0.1')


setup(
    name=u'EVE-SRP',
    version=version,
    description=u'EVE Ship Replacement Program Helper',
    author=u'<NAME>',
    author_email=u'<EMAIL>',
    url=u'https://github.com/paxswill/evesrp',
    packages=[
        'evesrp',
        'evesrp.auth',
        'evesrp.views',
        'evesrp.util',
        'evesrp.migrate',
        'evesrp.migrate.versions',
    ],
    package_data={
        'evesrp': [
            'static/favicon.ico',
            'static/evesso.png',
            'static/css/*.css',
            'static/css/*.css.map',
            'static/js/evesrp.min.js',
            'static/js/evesrp.min.js.map',
            'static/ZeroClipboard.swf',
            'templates/*.html',
            'templates/*.xml',
            'migrate/alembic.ini',
            'migrate/script.py.mako',
        ],
    },
    classifiers=[
        u'Development Status :: 4 - Beta',
        u'Framework :: Flask',
        u'License :: OSI Approved :: BSD License',
        u'Programming Language :: Python :: 3',
        u'Programming Language :: Python :: 2',
        u'Topic :: Games/Entertainment',
    ],
    install_requires=[
        'Flask>=0.10.1',
        'Flask-Login>=0.2.11',
        'Flask-Migrate>=1.2.0',
        'Flask-Script==2.0.5',
        'Flask-SQLAlchemy==2.0',
        'Flask-WTF==0.10.2',
        'SQLAlchemy>=0.9.7',
        'Werkzeug>=0.9.4',
        'WTForms==1.0.5',
        'alembic>=0.6.5',
        'requests==2.2.1',
        'six==1.7.3',
        'braveapi==0.1',
    ],
    test_suite='nose.collector',
    test_requires=test_requirements,
    entry_points={
        'console_scripts': [
            'evesrp = evesrp.util.manage:main',
        ],<commit_msg>Use the the basic unittest test suite for setup.py <commit_after>#!/usr/bin/env python
from setuptools import setup
import re
import sys


with open('evesrp/__init__.py', 'r') as f:
    init_contents = ''
    for line in f:
        init_contents += line + '\n'
version = re.search(r'^__version__ *= *u?[\'"]([^\'"]*)[\'"]', init_contents,
        re.MULTILINE)
if version:
    version = version.group(1)
else:
    raise Exception(u"Unable to find __version__ in evesrp/__init__.py")


test_requirements = [
    'beautifulsoup>=4.3.2',
    'coverage>=3.7.1',
    'httmock>=1.2.2',
]
# unittest.mock was added in 3.3, but is available as a backport as the 'mock'
# package on PyPI.
if sys.version_info.major < 3 or sys.version_info.minor < 3:
    test_requirements.append('mock>=1.0.1')


setup(
    name=u'EVE-SRP',
    version=version,
    description=u'EVE Ship Replacement Program Helper',
    author=u'<NAME>',
    author_email=u'<EMAIL>',
    url=u'https://github.com/paxswill/evesrp',
    packages=[
        'evesrp',
        'evesrp.auth',
        'evesrp.views',
        'evesrp.util',
        'evesrp.migrate',
        'evesrp.migrate.versions',
    ],
    package_data={
        'evesrp': [
            'static/favicon.ico',
            'static/evesso.png',
            'static/css/*.css',
            'static/css/*.css.map',
            'static/js/evesrp.min.js',
            'static/js/evesrp.min.js.map',
            'static/ZeroClipboard.swf',
            'templates/*.html',
            'templates/*.xml',
            'migrate/alembic.ini',
            'migrate/script.py.mako',
        ],
    },
    classifiers=[
        u'Development Status :: 4 - Beta',
        u'Framework :: Flask',
        u'License :: OSI Approved :: BSD License',
        u'Programming Language :: Python :: 3',
        u'Programming Language :: Python :: 2',
        u'Topic :: Games/Entertainment',
    ],
    install_requires=[
        'Flask>=0.10.1',
        'Flask-Login>=0.2.11',
        'Flask-Migrate>=1.2.0',
        'Flask-Script==2.0.5',
        'Flask-SQLAlchemy==2.0',
        'Flask-WTF==0.10.2',
        'SQLAlchemy>=0.9.7',
        'Werkzeug>=0.9.4',
        'WTForms==1.0.5',
        'alembic>=0.6.5',
        'requests==2.2.1',
        'six==1.7.3',
        'braveapi==0.1',
    ],
    test_suite='tests',
    test_requires=test_requirements,
    entry_points={
        'console_scripts': [
            'evesrp = evesrp.util.manage:main',
        ],
{'fraction_non_alphanumeric': 0.1744327390599676, 'fraction_numerical': 0.025526742301458672, 'mean_word_length': 2.122707147375079, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 29, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '7495830', 'n_tokens_mistral': 1813, 'n_tokens_neox': 1787, 'n_words': 293}