<commit_before>import sys
from distutils.core import setup, Extension
import os
import warnings

PACKAGENAME = "mashingpumpkins"
VERSION="0.1"

extra_compile_args = ['-pedantic']

CLASSIFIERS = [
    "Intended Audience :: Science/Research",
    "License :: OSI Approved :: MIT License",
    "Operating System :: POSIX :: Linux",
    "Programming Language :: C++",
    "Programming Language :: Python :: 3 :: Only",
    "Programming Language :: Python :: 3.5",
    "Programming Language :: Python :: 3.6",
    "Topic :: Scientific/Engineering",
]

if sys.platform == 'darwin':
    warnings.warn("Not tested on OSX")
    pass
elif sys.platform == 'linux':
    pass
else:
    raise ValueError("The platform %s is not supported." % sys.platform)

mmh_mod = Extension("%s._murmurhash3" % PACKAGENAME,
                    sources=["src/_murmurhash3.cpp", "src/MurmurHash3.cpp"],
                    include_dirs=["src",],
                    language="c++")
<commit_msg>added compilation flag for mmh3<commit_after>import sys
from distutils.core import setup, Extension
import os
import warnings

PACKAGENAME = "mashingpumpkins"
VERSION="0.1"

extra_compile_args = ['-pedantic']

CLASSIFIERS = [
    "Intended Audience :: Science/Research",
    "License :: OSI Approved :: MIT License",
    "Operating System :: POSIX :: Linux",
    "Programming Language :: C++",
    "Programming Language :: Python :: 3 :: Only",
    "Programming Language :: Python :: 3.5",
    "Programming Language :: Python :: 3.6",
    "Topic :: Scientific/Engineering",
]

if sys.platform == 'darwin':
    warnings.warn("Not tested on OSX")
    pass
elif sys.platform == 'linux':
    pass
else:
    raise ValueError("The platform %s is not supported." % sys.platform)

mmh_mod = Extension("%s._murmurhash3" % PACKAGENAME,
                    sources=["src/_murmurhash3.cpp", "src/MurmurHash3.cpp"],
                    include_dirs=["src",],
                    language="c++",
                    extra_compile_args = extra_compile_args + \
                    ['-O3'])                    

{'fraction_non_alphanumeric': 0.1393880524526469, 'fraction_numerical': 0.010684798445847498, 'mean_word_length': 2.879472693032015, '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': '544182', 'n_tokens_mistral': 637, 'n_tokens_neox': 611, 'n_words': 157}