<commit_before>#!/usr/bin/python

from distutils.core import setup
from Cython.Build import cythonize

setup(
    ext_modules=cythonize(
        "libnaklo3/*.pyx",
        annotate=True,
        compiler_directives={
            "language_level": "3",
            "warn.undeclared": True,
            "warn.maybe_uninitialized": True,
            "warn.unused": True,
            "warn.unused_arg": True,
            "warn.unused_result": True,
        }
    ),
)
<commit_msg>setup.py: Migrate to setuptools<commit_after>#!/usr/bin/python

from setuptools import setup
from Cython.Build import cythonize

setup(
    ext_modules=cythonize(
        "libnaklo3/*.pyx",
        annotate=True,
        compiler_directives={
            "language_level": "3",
            "warn.undeclared": True,
            "warn.maybe_uninitialized": True,
            "warn.unused": True,
            "warn.unused_arg": True,
            "warn.unused_result": True,
        }
    ),
)

{'fraction_non_alphanumeric': 0.12111801242236025, 'fraction_numerical': 0.004140786749482402, 'mean_word_length': 2.0796178343949046, 'pattern_counts': {'":': 12, '<': 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': '5742944', 'n_tokens_mistral': 306, 'n_tokens_neox': 310, 'n_words': 55}