<commit_before>from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
import sys


class PyTest(TestCommand):
    def finalize_options(self):
        TestCommand.finalize_options(self)
        self.test_args = []
        self.test_suite = True

    def run_tests(self):
        import pytest
        errcode = pytest.main(self.test_args)
        sys.exit(errcode)

ADD_THESE_BACK_TO_INSTALL_EVENTUALLY = ['ccdproc', 'photutils']

INSTALL_REQUIRES = ['astropy>=0.3', 'numpy', 'scipy',
                    'ipython>=2.0', 'msumastro']


setup(
    name='reducer',
    version='0.1dev',
    description='Process FITS files',
    url='http://github.com/mwcraig/reducer',
    long_description=(open('README.md').read()),
    license='BSD 3-clause',
    author='<NAME>',
    author_email='<EMAIL>',
    packages=find_packages(exclude=['tests*']),
    include_package_data=True,
    install_requires=INSTALL_REQUIRES,
    extras_require={
        'docs': ['numpydoc', 'sphinx-argparse', 'sphinx_rtd_theme'],
    },
    tests_require=['pytest>1.4', 'pytest-capturelog'] + INSTALL_REQUIRES,
    cmdclass={'test': PyTest},
    entry_points={
        'console_scripts': [
            ('reducer = '
             'reducer:main')
        ]
    },
    classifiers=['Development Status :: 4 - Beta',
                 'License :: OSI Approved :: BSD License',
                 'Programming Language :: Python :: 2.7',
                 'Programming Language :: Python :: 2 :: Only',
                 'Programming Language :: Python :: 3',
                 'Intended Audience :: Science/Research',
                 'Topic :: Scientific/Engineering :: Astronomy'],
    )
<commit_msg>Update minimum version numbers for astropy, msumastro<commit_after>from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
import sys


class PyTest(TestCommand):
    def finalize_options(self):
        TestCommand.finalize_options(self)
        self.test_args = []
        self.test_suite = True

    def run_tests(self):
        import pytest
        errcode = pytest.main(self.test_args)
        sys.exit(errcode)

ADD_THESE_BACK_TO_INSTALL_EVENTUALLY = ['ccdproc', 'photutils']

INSTALL_REQUIRES = ['astropy>=0.4', 'numpy', 'scipy',
                    'ipython>=2.0', 'msumastro>=0.5']


setup(
    name='reducer',
    version='0.1dev',
    description='Process FITS files',
    url='http://github.com/mwcraig/reducer',
    long_description=(open('README.md').read()),
    license='BSD 3-clause',
    author='<NAME>',
    author_email='<EMAIL>',
    packages=find_packages(exclude=['tests*']),
    include_package_data=True,
    install_requires=INSTALL_REQUIRES,
    extras_require={
        'docs': ['numpydoc', 'sphinx-argparse', 'sphinx_rtd_theme'],
    },
    tests_require=['pytest>1.4', 'pytest-capturelog'] + INSTALL_REQUIRES,
    cmdclass={'test': PyTest},
    entry_points={
        'console_scripts': [
            ('reducer = '
             'reducer:main')
        ]
    },
    classifiers=['Development Status :: 4 - Beta',
                 'License :: OSI Approved :: BSD License',
                 'Programming Language :: Python :: 2.7',
                 'Programming Language :: Python :: 2 :: Only',
                 'Programming Language :: Python :: 3',
                 'Intended Audience :: Science/Research',
                 'Topic :: Scientific/Engineering :: Astronomy'],
    )

{'fraction_non_alphanumeric': 0.1404218433978619, 'fraction_numerical': 0.008668015024559377, 'mean_word_length': 2.7467532467532467, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 14, 'https://': 0, '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': '1281942', 'n_tokens_mistral': 1099, 'n_tokens_neox': 1070, 'n_words': 194}