<commit_before>import ez_setup
ez_setup.use_setuptools()
from setuptools import setup
import sys
import os
import numpy

version_py = os.path.join(os.path.dirname(__file__), 'metaseq', 'version.py')
version = open(version_py).read().split('=')[-1].strip().replace('"','')

long_description = open('README.rst').read()
setup(
        name='metaseq',
        version=version,
        long_description=long_description,
        install_requires=['bx-python', 'numpy', 'HTSeq', 'matplotlib', 'scipy',
                          'scikits.learn', 'pysam', 'statsmodels',
                          'pybedtools', 'gffutils', 'argparse'],
        packages=['metaseq', 'metaseq.test', 
                  'metaseq.test.data',
                  'metaseq.integration'],
        package_data={
            'metaseq':[
                'test/data/gdc*',
                'test/data/make_examples_from_pybedtools.py',
                'test/data/x.*',
            ]
        },
        scripts=[
            'metaseq/scripts/download_metaseq_example_data.py',
            'metaseq/scripts/metaseq-cli',
            'metaseq/scripts/speedtest.py',
        ],
        author='<NAME>',
        author_email='<EMAIL>',
        url='http://github.com/daler/metaseq',
        classifiers=[
            'Development Status :: 4 - Beta',
            'Intended Audience :: Science/Research',
            'Intended Audience :: Developers',
            'Intended Audience :: System Administrators',
            'Operating System :: POSIX',
            'Operating System :: MacOS :: MacOS X',
            'Environment :: Console',
            'License :: OSI Approved :: MIT License',
            'Topic :: Scientific/Engineering :: Bio-Informatics',
            'Topic :: Scientific/Engineering :: Medical Science Apps.', 
        ]
    )
<commit_msg>require numpy to be installed ahead of time<commit_after>import os
from setuptools import setup, find_packages
import sys

try:
    import numpy
except ImportError:
    raise ImportError(
        "Please install NumPy first, or use the Anaconda Python Distribution "
        "(https://store.continuum.io/cshop/anaconda/) which comes with NumPy "
        "installed."
    )



version_py = os.path.join(os.path.dirname(__file__), 'metaseq', 'version.py')
version = open(version_py).read().split('=')[-1].strip().replace('"','')

long_description = open('README.rst').read()
setup(
        name='metaseq',
        version=version,
        description="Integrative analysis of high-thoughput sequencing data",
        #long_description=long_description,
        license="MIT",
        install_requires=['bx-python>=0.7.1', 'matplotlib>=1.3.1',
                          'pysam>=0.7', 'pandas>=0.13.1', 'pycurl',
                          'pybedtools>=0.6.4', 'gffutils>=0.8', 'urlgrabber',
                          'argparse', 'PyYAML',],
        packages=find_packages(),
        package_data={
            'metaseq':[
                'test/data/gdc*',
                'test/data/make_examples_from_pybedtools.py',
                'test/data/x.*',
            ]
        },
        scripts=[
            'metaseq/scripts/download_metaseq_example_data.py',
            'metaseq/scripts/metaseq-cli',
            'metaseq/scripts/speedtest.py',
        ],
        author='<NAME>',
        author_email='<EMAIL>',
        url='http://github.com/daler/metaseq',
        classifiers=[
            'Development Status :: 4 - Beta',
            'Intended Audience :: Science/Research',
            'Intended Audience :: Developers',
            'Intended Audience :: System Administrators',
            'Operating System :: POSIX',
            'Operating System :: MacOS :: MacOS X',
            'Environment :: Console',
            'License :: OSI Approved :: MIT License',
            'Topic :: Scientific/Engineering :: Bio-Informatics',
            'Topic :: Scientific/Engineering :: Medical Science Apps.', 
        ]
    )

{'fraction_non_alphanumeric': 0.14260340015224562, 'fraction_numerical': 0.0053285968028419185, 'mean_word_length': 2.074882995319813, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 13, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1803343', 'n_tokens_mistral': 1177, 'n_tokens_neox': 1131, 'n_words': 209}