<commit_before>from distutils.core import setup
from Cython.Build import cythonize
from distutils.extension import Extension

NAME = "cypyserialize"
VERSION = "1.0"
DESCR = "Really easy, really quick, binary parser framework for Python"
try:
   import pypandoc
   LONG_DESC = pypandoc.convert('README.md', 'rst')
except (IOError, ImportError):
   LONG_DESC = open('README.md').read()

URL = "https://github.com/wrenoud/cypyserialize"
DOWNLOAD_URL = "https://github.com/wrenoud/cypyserialize/tarball/" + VERSION

AUTHOR = "<NAME>"
EMAIL = "<EMAIL>"

LICENSE = "Apache 2.0"

SRC_DIR = NAME
PACKAGES = [SRC_DIR]

EXTENSIONS = [
    Extension(
        SRC_DIR + ".variant",
        [SRC_DIR + '/variant.pyx'],
        libraries=[]
    ),
    Extension(
        SRC_DIR + ".serializers",
        [SRC_DIR + '/serializers.pyx'],
        libraries=[]
    ),
    Extension(
        SRC_DIR + ".serializable",
        [SRC_DIR + '/serializable.pyx'],
        libraries=[]
    )
]

REQUIRES = []


setup(
    name=NAME,
    packages=PACKAGES,
    version=VERSION,
    description=DESCR,
    long_description=LONG_DESC,
    author=AUTHOR,
    author_email=EMAIL,
    url=URL,
    download_url=DOWNLOAD_URL,
    keywords=['testing', 'logging', 'example'],  # arbitrary keywords
    classifiers=[],
    license=LICENSE,
    ext_modules=cythonize(EXTENSIONS),
    install_requires=REQUIRES,
)<commit_msg>remove cython dependancy<commit_after>from distutils.core import setup
from distutils.extension import Extension

try:
    from Cython.Build import cythonize
    EXT = ".pyx"
except:
    EXT = ".c"

NAME = "cypyserialize"
VERSION = "1.0"
DESCR = "Really easy, really quick, binary parser framework for Python"
try:
   import pypandoc
   LONG_DESC = pypandoc.convert('README.md', 'rst')
except (IOError, ImportError):
   LONG_DESC = open('README.md').read()

URL = "https://github.com/wrenoud/cypyserialize"
DOWNLOAD_URL = "https://github.com/wrenoud/cypyserialize/tarball/" + VERSION

AUTHOR = "<NAME>"
EMAIL = "<EMAIL>"

LICENSE = "Apache 2.0"

SRC_DIR = NAME
PACKAGES = [SRC_DIR]

EXTENSIONS = [
    Extension(
        SRC_DIR + ".variant",
        [SRC_DIR + '/variant' + EXT],
        libraries=[]
    ),
    Extension(
        SRC_DIR + ".serializers",
        [SRC_DIR + '/serializers' + EXT],
        libraries=[]
    ),
    Extension(
        SRC_DIR + ".serializable",
        [SRC_DIR + '/serializable' + EXT],
        libraries=[]
    )
]

REQUIRES = []


setup(
    name=NAME,
    packages=PACKAGES,
    version=VERSION,
    description=DESCR,
    long_description=LONG_DESC,
    author=AUTHOR,
    author_email=EMAIL,
    url=URL,
    download_url=DOWNLOAD_URL,
    keywords=['testing', 'logging', 'example'],  # arbitrary keywords
    classifiers=[],
    license=LICENSE,
    ext_modules=cythonize(EXTENSIONS),
    install_requires=REQUIRES,
)
{'fraction_non_alphanumeric': 0.13558131366350545, 'fraction_numerical': 0.0028099754127151387, 'mean_word_length': 3.2444113263785397, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '841140', 'n_tokens_mistral': 983, 'n_tokens_neox': 969, 'n_words': 195}