<commit_before>#!/usb/bin/env python

import os

import numpy as np
from Cython.Build import cythonize
from setuptools import find_packages, setup
from setuptools.extension import Extension

# Cython autobuilding needs the numpy headers. On Windows hosts, this trick is
# needed. On Linux, the headers are already in standard places.
incdirs = [np.get_include()]

# Extension modules written in Cython

pyxfiles = []
for dir_, subdirs, files in os.walk('sastool'):
    pyxfiles.extend([os.path.join(dir_, f) for f in files if f.endswith('.pyx')])

ext_modules = [
    Extension(p.replace(os.path.sep, '.')[:-4], [p], include_dirs=incdirs) for p in pyxfiles
    ]

setup(
    name='sastool', author='<NAME>',
    author_email='<EMAIL>', url='http://github.com/awacha/sastool',
    description='Python macros for [A]SA(X|N)S data processing, fitting, plotting etc.',
    packages=find_packages(),
    ext_modules=cythonize(ext_modules, force=True),
    install_requires=['numpy>=1.0.0', 'scipy>=0.7.0', 'matplotlib',
                      'h5py>=2.0', 'xlrd', 'xlwt'],
    use_scm_version=True,
    setup_requires=['Cython>=0.15', 'setuptools_scm'],
    keywords="saxs sans sas small-angle scattering x-ray neutron",
    license="BSD 3-clause",
    zip_safe=False,
)<commit_msg>Not forcing cythonize() in setup.py<commit_after>#!/usb/bin/env python

import os

import numpy as np
from Cython.Build import cythonize
from setuptools import find_packages, setup
from setuptools.extension import Extension

# Cython autobuilding needs the numpy headers. On Windows hosts, this trick is
# needed. On Linux, the headers are already in standard places.
incdirs = [np.get_include()]

# Extension modules written in Cython

pyxfiles = []
for dir_, subdirs, files in os.walk('sastool'):
    pyxfiles.extend([os.path.join(dir_, f) for f in files if f.endswith('.pyx')])

ext_modules = [
    Extension(p.replace(os.path.sep, '.')[:-4], [p], include_dirs=incdirs) for p in pyxfiles
    ]

setup(
    name='sastool', author='<NAME>',
    author_email='<EMAIL>', url='http://github.com/awacha/sastool',
    description='Python macros for [A]SA(X|N)S data processing, fitting, plotting etc.',
    packages=find_packages(),
    ext_modules=cythonize(ext_modules),
    install_requires=['numpy>=1.0.0', 'scipy>=0.7.0', 'matplotlib',
                      'h5py>=2.0', 'xlrd', 'xlwt'],
    use_scm_version=True,
    setup_requires=['Cython>=0.15', 'setuptools_scm'],
    keywords="saxs sans sas small-angle scattering x-ray neutron",
    license="BSD 3-clause",
    zip_safe=False,
)
{'fraction_non_alphanumeric': 0.14402810304449648, 'fraction_numerical': 0.01092896174863388, 'mean_word_length': 4.306418219461698, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '993312', 'n_tokens_mistral': 898, 'n_tokens_neox': 878, 'n_words': 223}