<commit_before>from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext

VERSION = '2.0'

ext_modules = [ Extension("capstone.capstone", ["pyx/capstone.pyx"]),
    Extension("capstone.arm", ["pyx/arm.pyx"]),
    Extension("capstone.arm_const", ["pyx/arm_const.pyx"]),
    Extension("capstone.arm64", ["pyx/arm64.pyx"]),
    Extension("capstone.arm64_const", ["pyx/arm64_const.pyx"]),
    Extension("capstone.mips", ["pyx/mips.pyx"]),
    Extension("capstone.mips_const", ["pyx/mips_const.pyx"]),
    Extension("capstone.ppc", ["pyx/ppc.pyx"]),
    Extension("capstone.ppc_const", ["pyx/ppc_const.pyx"]),
    Extension("capstone.x86", ["pyx/x86.pyx"]),
    Extension("capstone.x86_const", ["pyx/x86_const.pyx"])
]

setup(
    provides     = ['capstone'],
    package_dir  = {'capstone' : 'pyx'},
    packages     = ['capstone'],
    name         = 'capstone',
    version      = VERSION,
    cmdclass = {'build_ext': build_ext},
    ext_modules = ext_modules,
    author       = '<NAME>',
    author_email = '<EMAIL>',
    description  = 'Capstone disassembly engine',
    url          = 'http://www.capstone-engine.org',
    classifiers  = [
                'License :: OSI Approved :: BSD License',
                'Programming Language :: Python :: 2',
                ],
)
<commit_msg>python: add compile_args for cython<commit_after>from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext

VERSION = '2.0'

compile_args = ['-O3', '-fomit-frame-pointer']

ext_modules = [ Extension("capstone.capstone", ["pyx/capstone.pyx"], extra_compile_args=compile_args),
    Extension("capstone.arm", ["pyx/arm.pyx"], extra_compile_args=compile_args),
    Extension("capstone.arm_const", ["pyx/arm_const.pyx"], extra_compile_args=compile_args),
    Extension("capstone.arm64", ["pyx/arm64.pyx"], extra_compile_args=compile_args),
    Extension("capstone.arm64_const", ["pyx/arm64_const.pyx"], extra_compile_args=compile_args),
    Extension("capstone.mips", ["pyx/mips.pyx"], extra_compile_args=compile_args),
    Extension("capstone.mips_const", ["pyx/mips_const.pyx"], extra_compile_args=compile_args),
    Extension("capstone.ppc", ["pyx/ppc.pyx"], extra_compile_args=compile_args),
    Extension("capstone.ppc_const", ["pyx/ppc_const.pyx"], extra_compile_args=compile_args),
    Extension("capstone.x86", ["pyx/x86.pyx"], extra_compile_args=compile_args),
    Extension("capstone.x86_const", ["pyx/x86_const.pyx"], extra_compile_args=compile_args)
]

setup(
    provides     = ['capstone'],
    package_dir  = {'capstone' : 'pyx'},
    packages     = ['capstone'],
    name         = 'capstone',
    version      = VERSION,
    cmdclass = {'build_ext': build_ext},
    ext_modules = ext_modules,
    author       = '<NAME>',
    author_email = '<EMAIL>',
    description  = 'Capstone disassembly engine',
    url          = 'http://www.capstone-engine.org',
    classifiers  = [
                'License :: OSI Approved :: BSD License',
                'Programming Language :: Python :: 2',
                ],
)

{'fraction_non_alphanumeric': 0.16298430995837335, 'fraction_numerical': 0.012487992315081652, 'mean_word_length': 3.7261724659606656, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4530136', 'n_tokens_mistral': 1025, 'n_tokens_neox': 1053, 'n_words': 166}