msgpack/python/setup.py

43 lines
1.1 KiB
Python
Raw Normal View History

2009-06-24 14:33:36 +09:00
#!/usr/bin/env python
# coding: utf-8
2009-06-08 01:43:50 +09:00
from distutils.core import setup, Extension
2009-07-13 14:27:57 +09:00
#from Cython.Distutils import build_ext
2009-06-10 10:45:07 +09:00
import os
2009-06-08 01:43:50 +09:00
2009-12-17 10:43:01 +09:00
version = '0.2.0dev'
2009-06-08 01:43:50 +09:00
msgpack_mod = Extension('msgpack._msgpack',
2009-07-13 14:27:57 +09:00
#sources=['msgpack/_msgpack.pyx']
sources=['msgpack/_msgpack.c']
2009-07-12 09:29:11 +09:00
)
2009-06-08 01:43:50 +09:00
2009-07-12 09:29:11 +09:00
desc = 'MessagePack (de)serializer.'
2009-06-08 01:43:50 +09:00
long_desc = desc + """
2009-07-12 09:29:11 +09:00
MessagePack_ (de)serializer for Python.
2009-06-08 01:43:50 +09:00
.. _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='Naoki INADA',
author_email='songofacandy@gmail.com',
version=version,
2009-07-13 14:27:57 +09:00
#cmdclass={'build_ext': build_ext},
2009-06-08 01:43:50 +09:00
ext_modules=[msgpack_mod],
2009-06-24 01:13:22 +09:00
packages=['msgpack'],
2009-06-08 13:21:38 +09:00
description=desc,
2009-06-08 01:43:50 +09:00
long_description=long_desc,
2009-07-12 09:29:11 +09:00
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
]
2009-06-08 01:43:50 +09:00
)