<commit_before>from setuptools import setup, find_packages
from distutils.extension import Extension
from Cython.Build import cythonize

extension_defaults = {
    'extra_compile_args': [
        '-std=c++11',
        '-O3',
        '-Wall',
        '-Wextra',
        '-Wconversion',
        '-fno-strict-aliasing'
    ],
    'language': 'c++',
    'libraries': [
        'rocksdb',
        'snappy',
        'bz2',
        'z'
    ]
}

mod1 = Extension(
    'rocksdb._rocksdb',
    ['rocksdb/_rocksdb.pyx'],
    **extension_defaults
)

setup(
    name="pyrocksdb",
    version='0.4',
    description="Python bindings for RocksDB",
    keywords='rocksdb',
    author='<NAME>',
    author_email="Use the github issues",
    url="https://github.com/stephan-hof/pyrocksdb",
    license='BSD License',
    install_requires=[
        'setuptools',
        'Cython>=0.20',
    ],
    package_dir={'rocksdb': 'rocksdb'},
    packages=find_packages('.'),
    ext_modules=cythonize([mod1]),
    test_suite='rocksdb.tests',
    include_package_data=True
)<commit_msg>Get rid of this 'extension_defaults' variable.<commit_after>from setuptools import setup
from setuptools import find_packages
from distutils.extension import Extension
from Cython.Build import cythonize

mod1 = Extension(
    'rocksdb._rocksdb',
    ['rocksdb/_rocksdb.pyx'],
    extra_compile_args=[
        '-std=c++11',
        '-O3',
        '-Wall',
        '-Wextra',
        '-Wconversion',
        '-fno-strict-aliasing'
    ],
    language='c++',
    libraries=[
        'rocksdb',
        'snappy',
        'bz2',
        'z'
    ]
)

setup(
    name="pyrocksdb",
    version='0.4',
    description="Python bindings for RocksDB",
    keywords='rocksdb',
    author='<NAME>',
    author_email="Use the github issues",
    url="https://github.com/stephan-hof/pyrocksdb",
    license='BSD License',
    install_requires=[
        'setuptools',
        'Cython>=0.20',
    ],
    package_dir={'rocksdb': 'rocksdb'},
    packages=find_packages('.'),
    ext_modules=cythonize([mod1]),
    test_suite='rocksdb.tests',
    include_package_data=True
)
{'fraction_non_alphanumeric': 0.15490288962576979, 'fraction_numerical': 0.010421601136901942, 'mean_word_length': 2.764705882352941, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '5571159', 'n_tokens_mistral': 723, 'n_tokens_neox': 710, 'n_words': 121}