diff options
author | inada-n <inada-n@hornet.(none)> | 2009-07-13 14:40:02 +0900 |
---|---|---|
committer | inada-n <inada-n@hornet.(none)> | 2009-07-13 14:40:02 +0900 |
commit | 63a507a123396191c0867ebfa09e9bdfd09b3da4 (patch) | |
tree | d670bde34063d9ad7379d0eac1577bb4fb3d5e85 /python/setup.py | |
parent | 661f27348188d15e841467ececd75e27cd77980b (diff) | |
parent | 294e3fe7ab01ef9273b364b0d3d9df4e9b275158 (diff) | |
download | msgpack-python-63a507a123396191c0867ebfa09e9bdfd09b3da4.tar.gz |
merge python binding from bzr.
Diffstat (limited to 'python/setup.py')
-rwxr-xr-x | python/setup.py | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/python/setup.py b/python/setup.py new file mode 100755 index 0000000..c0d121b --- /dev/null +++ b/python/setup.py @@ -0,0 +1,42 @@ +#!/usr/bin/env python +# coding: utf-8 + +from distutils.core import setup, Extension +#from Cython.Distutils import build_ext +import os + +version = '0.1.0' + +msgpack_mod = Extension('msgpack._msgpack', + #sources=['msgpack/_msgpack.pyx'] + sources=['msgpack/_msgpack.c'] + ) + +desc = 'MessagePack (de)serializer.' +long_desc = desc + """ + +MessagePack_ (de)serializer for Python. + +.. _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, + #cmdclass={'build_ext': build_ext}, + ext_modules=[msgpack_mod], + packages=['msgpack'], + description=desc, + long_description=long_desc, + classifiers=[ + 'Development Status :: 4 - Beta', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: Apache Software License', + ] + ) |