<commit_before>from distutils.core import setup, Command
from distutils.extension import Extension

try:
    from Cython import __version__ as cython_version

    from distutils.version import StrictVersion

    if StrictVersion(cython_version) <= StrictVersion("0.18"):
        print "You need a Cython version newer than 0.18 to enable 'cythonize'"
        raise ImportError

    from Cython.Build import cythonize


    class CythonizeCommand(Command):
        description = "Generate .c files out of .pyx"
        user_options = []

        def initialize_options(self):
            pass

        def finalize_options(self):
            pass

        def run(self):
            cythonize("couchbase/libcouchbase.pyx")

    cmdclass = {"cythonize": CythonizeCommand}
except ImportError:
    cmdclass = {}

setup(
    name="Couchbase Python SDK",
    cmdclass=cmdclass,
    ext_modules=[Extension(
        "couchbase/libcouchbase", ["couchbase/libcouchbase.c"],
        libraries=['couchbase'])
    ],
    packages=['couchbase']
)<commit_msg>Changed the name of the package and added version<commit_after>from distutils.core import setup, Command
from distutils.extension import Extension

try:
    from Cython import __version__ as cython_version

    from distutils.version import StrictVersion

    if StrictVersion(cython_version) <= StrictVersion("0.18"):
        print "You need a Cython version newer than 0.18 to enable 'cythonize'"
        raise ImportError

    from Cython.Build import cythonize


    class CythonizeCommand(Command):
        description = "Generate .c files out of .pyx"
        user_options = []

        def initialize_options(self):
            pass

        def finalize_options(self):
            pass

        def run(self):
            cythonize("couchbase/libcouchbase.pyx")

    cmdclass = {"cythonize": CythonizeCommand}
except ImportError:
    cmdclass = {}

setup(
    name="couchbase-python-sdk",
    version="0.9",
    cmdclass=cmdclass,
    ext_modules=[Extension(
        "couchbase/libcouchbase", ["couchbase/libcouchbase.c"],
        libraries=['couchbase'])
    ],
    packages=['couchbase']
)
{'fraction_non_alphanumeric': 0.0919272048530098, 'fraction_numerical': 0.006532897806812879, 'mean_word_length': 2.9484346224677718, 'pattern_counts': {'":': 2, '<': 5, '<?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': '4112538', 'n_tokens_mistral': 636, 'n_tokens_neox': 611, 'n_words': 159}