<commit_before>from distutils.core import setup
from distutils.extension import Extension
from Cython.Build import cythonize

import os
import numpy

extensions = [
    Extension("grizli/utils_c/interp", ["grizli/utils_c/interp.pyx"],
        include_dirs = [numpy.get_include()],),
        
    # Extension("grizli/utils_c/nmf", ["grizli/utils_c/nmf.pyx"],
    #     include_dirs = [numpy.get_include()],),
    
    Extension("grizli/utils_c/disperse", ["grizli/utils_c/disperse.pyx"],
        include_dirs = [numpy.get_include()],),
    
]

# Utility function to read the README file.
# Used for the long_description.  It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

setup(
    name = "grizli",
    version = "0.1.3",
    author = "<NAME>",
    author_email = "<EMAIL>",
    description = "Grism redshift and line analysis software",
    license = "MIT",
    url = "https://github.com/gbrammer/grizli",
    download_url = "https://github.com/gbrammer/grizli/tarball/0.1.3",
    packages=['grizli'],
    # requires=['numpy', 'scipy', 'astropy', 'drizzlepac', 'stwcs'],
    # long_description=read('README.rst'),
    classifiers=[
        "Development Status :: 1 - Planning",
        'Intended Audience :: Science/Research',
        'Topic :: Scientific/Engineering :: Astronomy',
    ],
    ext_modules = cythonize(extensions),
    package_data={'grizli': ['data/*']},
    # scripts=['grizli/scripts/flt_info.sh'],
)<commit_msg>fix setup.py<commit_after>from distutils.core import setup
from distutils.extension import Extension
from Cython.Build import cythonize

import os
import numpy

extensions = [
    Extension("grizli/utils_c/interp", ["grizli/utils_c/interp.pyx"],
        include_dirs = [numpy.get_include()],),
        
    # Extension("grizli/utils_c/nmf", ["grizli/utils_c/nmf.pyx"],
    #     include_dirs = [numpy.get_include()],),
    
    Extension("grizli/utils_c/disperse", ["grizli/utils_c/disperse.pyx"],
        include_dirs = [numpy.get_include()],),
    
]

# Utility function to read the README file.
# Used for the long_description.  It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

setup(
    name = "grizli",
    version = "0.1.4",
    author = "<NAME>",
    author_email = "<EMAIL>",
    description = "Grism redshift and line analysis software",
    license = "MIT",
    url = "https://github.com/gbrammer/grizli",
    download_url = "https://github.com/gbrammer/grizli/tarball/0.1.4",
    packages=['grizli', 'grizli/utils_c'],
    # requires=['numpy', 'scipy', 'astropy', 'drizzlepac', 'stwcs'],
    # long_description=read('README.rst'),
    classifiers=[
        "Development Status :: 1 - Planning",
        'Intended Audience :: Science/Research',
        'Topic :: Scientific/Engineering :: Astronomy',
    ],
    ext_modules = cythonize(extensions),
    package_data={'grizli': ['data/*']},
    # scripts=['grizli/scripts/flt_info.sh'],
)
{'fraction_non_alphanumeric': 0.15595201476468779, 'fraction_numerical': 0.005536757920639803, 'mean_word_length': 3.5104022191400834, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 4, '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': '29221', 'n_tokens_mistral': 1137, 'n_tokens_neox': 1107, 'n_words': 242}