<commit_before>from setuptools import setup
from sys import version_info


def readme():
    with open("README.md") as f:
        return f.read()


if version_info < (3, 3):
    raise RuntimeError("Required: Python version > 3.3")


with open("swan/version.py") as fp:
    d = {}
    exec(fp.read(), d)
    swan_version = d['version']

install_requirements = ['numpy',
                        'quantities',
                        'PyQt5',
                        'pyqtgraph',
                        'odml',
                        'elephant',
                        'pyopengl',
                        'matplotlib',
                        'scikit-learn',
                        'psutil',
                        'scipy',
                        'pandas']

setup(
    name='swan',
    version=swan_version,
    packages=['swan',
              'swan.gui',
              'swan.resources',
              'swan.base',
              'swan.views',
              'swan.widgets',
              'tests',
              'doc'],
    url='https://github.com/INM-6/swan',
    download_url='https://github.com/INM-6/swan',
    license='BSD-3-Clause',
    author='SWAN authors and contributors',
    author_email='<EMAIL>',
    install_requires=install_requirements,
    dependency_links=['https://github.com/INM-6/python-neo'],
    description='Python based tool for tracking single units from spike sorted data across several '
                'electrophysiological recording sessions.',
    long_description=readme(),
    scripts=['scripts/swan'],
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Intended Audience :: Science/Research',
        'License :: OSI Approved :: BSD License',<commit_msg>replace `scripts` kwarg with `entry_points` + `console_scripts`<commit_after>from setuptools import setup
from sys import version_info


def readme():
    with open("README.md") as f:
        return f.read()


if version_info < (3, 3):
    raise RuntimeError("Required: Python version > 3.3")


with open("swan/version.py") as fp:
    d = {}
    exec(fp.read(), d)
    swan_version = d['version']

install_requirements = ['numpy',
                        'quantities',
                        'PyQt5',
                        'pyqtgraph',
                        'odml',
                        'elephant',
                        'pyopengl',
                        'matplotlib',
                        'scikit-learn',
                        'psutil',
                        'scipy',
                        'pandas']

setup(
    name='swan',
    version=swan_version,
    packages=['swan',
              'swan.gui',
              'swan.resources',
              'swan.base',
              'swan.views',
              'swan.widgets',
              'tests',
              'doc'],
    url='https://github.com/INM-6/swan',
    download_url='https://github.com/INM-6/swan',
    license='BSD-3-Clause',
    author='SWAN authors and contributors',
    author_email='<EMAIL>',
    install_requires=install_requirements,
    dependency_links=['https://github.com/INM-6/python-neo'],
    description='Python based tool for tracking single units from spike sorted data across several '
                'electrophysiological recording sessions.',
    long_description=readme(),
    entry_points={
        'console_scripts': ['swan = swan.app.start:launch']
    },
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Intended Audience :: Science/Research',
        'License :: OSI Approved :: BSD License',
{'fraction_non_alphanumeric': 0.12847419171866137, 'fraction_numerical': 0.005672149744753261, 'mean_word_length': 1.6985462892119356, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 6, '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': '5943982', 'n_tokens_mistral': 1030, 'n_tokens_neox': 962, 'n_words': 205}