<commit_before>#!/usr/bin/env python
from __future__ import division, print_function, absolute_import


def configuration(parent_package='', top_path=None):
    from numpy.distutils.misc_util import Configuration, get_numpy_include_dirs

    config = Configuration('layers', parent_package, top_path)

    config.add_extension('im2col_cython',
                         sources=[('im2col_cython.c')],
                         include_dirs=[get_numpy_include_dirs()])

    return config


if __name__ == '__main__':
    from numpy.distutils.core import setup

    setup(**configuration(top_path='').todict())

# #!/usr/bin/env python
# # -*- coding: utf-8 -*-
# from distutils.core import setup
# from distutils.extension import Extension
# from Cython.Build import cythonize
# import numpy

# extensions = [
#     Extension('im2col_cython', ['im2col_cython.pyx'],
#               include_dirs=[numpy.get_include()]
#               ),
# ]

# setup(
#     ext_modules=cythonize(extensions),
# )<commit_msg>minor edit<commit_after>#!/usr/bin/env python
from __future__ import division, print_function, absolute_import


def configuration(parent_package='', top_path=None):
    from numpy.distutils.misc_util import Configuration, get_numpy_include_dirs

    config = Configuration('layers', parent_package, top_path)

    config.add_extension('im2col_cython',
                         sources=[('im2col_cython.c')],
                         include_dirs=[get_numpy_include_dirs()])

    return config


if __name__ == '__main__':
    from numpy.distutils.core import setup

    setup(**configuration(top_path='').todict())

{'fraction_non_alphanumeric': 0.118591723285979, 'fraction_numerical': 0.004323656578134651, 'mean_word_length': 3.5892351274787537, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '774570', 'n_tokens_mistral': 502, 'n_tokens_neox': 481, 'n_words': 91}