<commit_before># -*- coding: utf-8 -*-

from setuptools import setup, find_packages
from setuptools.extension import Extension

version = "0.1.2"

install_requires = [
    "pyparsing==2.0.2",
]

dev_requires = [
    "cython>=0.20.1",
    "flake8>=2.1.0",
    "nose>=1.3.3",
    "sphinx-rtd-theme>=0.1.6",
    "sphinx>=1.2.2",
]


try:
    from Cython.Distutils import build_ext
    cython = True
except ImportError:
    cython = False

cmdclass = {}
ext_modules = []

if cython:
    ext_modules.append(Extension("thriftpy.protocol.cybinary",
                                 ["thriftpy/protocol/cybinary.pyx"]))
    cmdclass["build_ext"] = build_ext
else:
    ext_modules.append(Extension("thriftpy.protocol.cybinary",
                                 ["thriftpy/protocol/cybinary.c"]))


setup(name="thriftpy",
      version=version,
      description="Pure python implemention of Apache Thrift.",
      keywords="thrift python thriftpy",
      author="<NAME>",
      author_email="<EMAIL>",
      packages=find_packages(exclude=['benchmark', 'docs', 'tests']),
      entry_points={},
      url="http://lxyu.github.io/thriftpy/",
      license="MIT",
      zip_safe=False,
      long_description=open("README.rst").read(),
      install_requires=install_requires,
      extras_require={
          "dev": dev_requires,
      },
      cmdclass=cmdclass,
      ext_modules=ext_modules,
      classifiers=[
          "Topic :: Software Development",
          "Development Status :: 3 - Alpha",
          "Intended Audience :: Developers",
          "License :: OSI Approved :: MIT License",
          "Programming Language :: Python :: 2.7",
          "Programming Language :: Python :: 3.3",
          "Programming Language :: Python :: 3.4",
      ])<commit_msg>update package meta datas<commit_after># -*- coding: utf-8 -*-

from setuptools import setup, find_packages
from setuptools.extension import Extension

version = "0.1.2"

install_requires = [
    "pyparsing==2.0.2",
]

dev_requires = [
    "cython>=0.20.1",
    "flake8>=2.1.0",
    "nose>=1.3.3",
    "sphinx-rtd-theme>=0.1.6",
    "sphinx>=1.2.2",
]


try:
    from Cython.Distutils import build_ext
    cython = True
except ImportError:
    cython = False

cmdclass = {}
ext_modules = []

if cython:
    ext_modules.append(Extension("thriftpy.protocol.cybinary",
                                 ["thriftpy/protocol/cybinary.pyx"]))
    cmdclass["build_ext"] = build_ext
else:
    ext_modules.append(Extension("thriftpy.protocol.cybinary",
                                 ["thriftpy/protocol/cybinary.c"]))


setup(name="thriftpy",
      version=version,
      description="Pure python implemention of Apache Thrift.",
      keywords="thrift python thriftpy",
      author="<NAME>",
      author_email="<EMAIL>",
      packages=find_packages(exclude=['benchmark', 'docs', 'tests']),
      entry_points={},
      url="https://thriftpy.readthedocs.org/",
      license="MIT",
      zip_safe=False,
      long_description=open("README.rst").read(),
      install_requires=install_requires,
      extras_require={
          "dev": dev_requires,
      },
      cmdclass=cmdclass,
      ext_modules=ext_modules,
      classifiers=[
          "Topic :: Software Development",
          "Development Status :: 3 - Alpha",
          "Intended Audience :: Developers",
          "License :: OSI Approved :: MIT License",
          "Programming Language :: Python :: 2.7",
          "Programming Language :: Python :: 3.3",
          "Programming Language :: Python :: 3.4",
          "Programming Language :: Python :: Implementation :: CPython",
          "Programming Language :: Python :: Implementation :: PyPy",
      ])
{'fraction_non_alphanumeric': 0.1458842705786471, 'fraction_numerical': 0.016843249117087747, 'mean_word_length': 2.627586206896552, 'pattern_counts': {'":': 2, '<': 7, '<?xml version=': 0, '>': 17, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4238781', 'n_tokens_mistral': 1166, 'n_tokens_neox': 1141, 'n_words': 211}