<commit_before>from distutils.core import setup
from distutils.extension import Extension

try:
    from Cython.Distutils import build_ext
    use_cython = True
except ImportError:
    use_cython = False

cmdclass = {}
if use_cython:
    ext_modules = [Extension("HspellPy",
                         ["pyhspell.pyx"],
                         language='c',
                         library_dirs = ['/usr/local/lib'],
                         include_dirs=['/usr/local/include'],
                         extra_objects=['/usr/local/lib/libhspell.a'],
                         )]
    cmdclass = {'build_ext': build_ext}
else:
    ext_modules = [Extension("HspellPy",
                         ["pyhspell.c"],
                         language='c',
                         library_dirs = ['/usr/local/lib'],
                         include_dirs=['/usr/local/include'],
                         extra_objects=['/usr/local/lib/libhspell.a'],
                         )]

setup(name='HspellPy',
      cmdclass=cmdclass,
      ext_modules=ext_modules,
      author='Eranroz',
      author_email='<EMAIL>',
      url='https://github.com/eranroz/HspellPy',
      description='Python wrapper for Hspell',
      version='0.1'
      )<commit_msg>version<commit_after>from distutils.core import setup
from distutils.extension import Extension

try:
    from Cython.Distutils import build_ext
    use_cython = True
except ImportError:
    use_cython = False

cmdclass = {}
if use_cython:
    ext_modules = [Extension("HspellPy",
                         ["pyhspell.pyx"],
                         language='c',
                         library_dirs = ['/usr/local/lib'],
                         include_dirs=['/usr/local/include'],
                         extra_objects=['/usr/local/lib/libhspell.a'],
                         )]
    cmdclass = {'build_ext': build_ext}
else:
    ext_modules = [Extension("HspellPy",
                         ["pyhspell.c"],
                         language='c',
                         library_dirs = ['/usr/local/lib'],
                         include_dirs=['/usr/local/include'],
                         extra_objects=['/usr/local/lib/libhspell.a'],
                         )]

setup(name='HspellPy',
      cmdclass=cmdclass,
      ext_modules=ext_modules,
      author='Eranroz',
      author_email='<EMAIL>',
      url='https://github.com/eranroz/HspellPy',
      description='Python wrapper for Hspell',
      version='0.1.1'
      )

{'fraction_non_alphanumeric': 0.12444264288609648, 'fraction_numerical': 0.002026753141467369, 'mean_word_length': 1.6061246040126715, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '4449925', 'n_tokens_mistral': 708, 'n_tokens_neox': 700, 'n_words': 106}