<commit_before>from distutils.core import setup

ext_files = ["pyreBloom/bloom.c"]

kwargs = {}

try:
    from Cython.Distutils import build_ext
    from Cython.Distutils import Extension
    print "Building from Cython"
    ext_files.append("pyreBloom/pyreBloom.pyx")
    kwargs['cmdclass'] = {'build_ext': build_ext}
except ImportError:
    from distutils import Extension
    ext_files.append("pyreBloom/pyreBloom.c")
    print "Building from C"<commit_msg>fix Extension import path<commit_after>from distutils.core import setup

ext_files = ["pyreBloom/bloom.c"]

kwargs = {}

try:
    from Cython.Distutils import build_ext
    from Cython.Distutils import Extension
    print "Building from Cython"
    ext_files.append("pyreBloom/pyreBloom.pyx")
    kwargs['cmdclass'] = {'build_ext': build_ext}
except ImportError:
    from distutils.core import Extension
    ext_files.append("pyreBloom/pyreBloom.c")
    print "Building from C"
{'fraction_non_alphanumeric': 0.09925293489861259, 'fraction_numerical': 0.0, 'mean_word_length': 4.421965317919075, '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': '1383560', 'n_tokens_mistral': 308, 'n_tokens_neox': 305, 'n_words': 72}