<commit_before>"""Packaging settings."""


from codecs import open
from os.path import abspath, dirname, join
from subprocess import call

from setuptools import Command, find_packages, setup

from gkdb import __version__


this_dir = abspath(dirname(__file__))
with open(join(this_dir, 'README.md'), encoding='utf-8') as file:
    long_description = file.read()


class RunTests(Command):
    """Run all tests."""
    description = 'run tests'
    user_options = []

    def initialize_options(self):
        pass

    def finalize_options(self):
        pass

    def run(self):
        """Run all tests!"""
        errno = call(['py.test', '--cov=gkdb', '--cov-report=term-missing',
                      '--ignore=lib/'])
        raise SystemExit(errno)


setup(
    name = 'gkdb',
    version = __version__,
    description = 'Peewee-based tools for interacting with the GyroKinetic DataBase (GKDB).',
    long_description = long_description,
    url = 'https://github.com/gkdb/gkdb',
    author = '<NAME>',
    author_email = '<EMAIL>',
    license = 'MIT',
    classifiers = [
        'Intended Audience :: Developers',
        'Topic :: Utilities',
        'License :: MIT',
        'Natural Language :: English',
        'Operating System :: OS Independent',
        'Programming Language :: Python :: 3.5',
    ],
    packages = find_packages(exclude=['docs', 'tests*']),
    install_requires = ['peewee', 'numpy', 'scipy', 'IPython'],
    extras_require = {
        'test': ['coverage', 'pytest', 'pytest-cov'],
    },
    cmdclass = {'test': RunTests},
)
<commit_msg>Added new dependencies for model.py<commit_after>"""Packaging settings."""


from codecs import open
from os.path import abspath, dirname, join
from subprocess import call

from setuptools import Command, find_packages, setup

from gkdb import __version__


this_dir = abspath(dirname(__file__))
with open(join(this_dir, 'README.md'), encoding='utf-8') as file:
    long_description = file.read()


class RunTests(Command):
    """Run all tests."""
    description = 'run tests'
    user_options = []

    def initialize_options(self):
        pass

    def finalize_options(self):
        pass

    def run(self):
        """Run all tests!"""
        errno = call(['py.test', '--cov=gkdb', '--cov-report=term-missing',
                      '--ignore=lib/'])
        raise SystemExit(errno)


setup(
    name = 'gkdb',
    version = __version__,
    description = 'Peewee-based tools for interacting with the GyroKinetic DataBase (GKDB).',
    long_description = long_description,
    url = 'https://github.com/gkdb/gkdb',
    author = '<NAME>',
    author_email = '<EMAIL>',
    license = 'MIT',
    classifiers = [
        'Intended Audience :: Developers',
        'Topic :: Utilities',
        'License :: MIT',
        'Natural Language :: English',
        'Operating System :: OS Independent',
        'Programming Language :: Python :: 3.5',
    ],
    packages = find_packages(exclude=['docs', 'tests*']),
    install_requires = ['peewee', 'numpy', 'scipy', 'IPython', 'psycopg2', 'pandas', 'xarray'],
    extras_require = {
        'test': ['coverage', 'pytest', 'pytest-cov'],
    },
    cmdclass = {'test': RunTests},
)

{'fraction_non_alphanumeric': 0.15006226650062265, 'fraction_numerical': 0.0021793275217932753, 'mean_word_length': 2.991304347826087, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '6211136', 'n_tokens_mistral': 1022, 'n_tokens_neox': 995, 'n_words': 253}