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

version = '0.0.1dev'

PACKAGE_ROOT = os.getcwdu()
INCLUDE_PATH = os.path.join(PACKAGE_ROOT, 'include')
msgpack_mod = Extension('msgpack._msgpack',
                        language="c++",
                        sources=['msgpack/_msgpack.pyx'],
                        include_dirs=[INCLUDE_PATH])

desc = 'MessagePack serializer/desirializer.'
long_desc = desc + """

Python binding of MessagePack_.

This package is under development.

.. _MessagePack: http://msgpack.sourceforge.jp/

What's MessagePack? (from http://msgpack.sourceforge.jp/)

 MessagePack is a binary-based efficient data interchange format that is
 focused on high performance. It is like JSON, but very fast and small.
"""

setup(name='msgpack',
      author='<NAME>',
      author_email='<EMAIL>',
      version=version,
      cmdclass={'build_ext': build_ext},
      ext_modules=[msgpack_mod],
      description=desc,
      long_description=long_desc,
      )
<commit_msg>Fix setup script bug.<commit_after>from distutils.core import setup, Extension
from Cython.Distutils import build_ext
import os

version = '0.0.1dev'

PACKAGE_ROOT = os.getcwdu()
INCLUDE_PATH = os.path.join(PACKAGE_ROOT, 'include')
msgpack_mod = Extension('msgpack._msgpack',
                        language="c++",
                        sources=['msgpack/_msgpack.pyx'],
                        include_dirs=[INCLUDE_PATH])

desc = 'MessagePack serializer/desirializer.'
long_desc = desc + """

Python binding of MessagePack_.

This package is under development.

.. _MessagePack: http://msgpack.sourceforge.jp/

What's MessagePack? (from http://msgpack.sourceforge.jp/)

 MessagePack is a binary-based efficient data interchange format that is
 focused on high performance. It is like JSON, but very fast and small.
"""

setup(name='msgpack',
      author='<NAME>',
      author_email='<EMAIL>',
      version=version,
      cmdclass={'build_ext': build_ext},
      ext_modules=[msgpack_mod],
      packages=['msgpack'],
      description=desc,
      long_description=long_desc,
      )

{'fraction_non_alphanumeric': 0.11509785647716682, 'fraction_numerical': 0.0027958993476234857, 'mean_word_length': 3.259920634920635, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '6669385', 'n_tokens_mistral': 652, 'n_tokens_neox': 629, 'n_words': 154}