diff options
author | Naoki INADA <inada-n@gear> | 2009-06-08 01:43:50 +0900 |
---|---|---|
committer | Naoki INADA <inada-n@gear> | 2009-06-08 01:43:50 +0900 |
commit | c930f5367b41ef141e80a76506fd91b49fe7d426 (patch) | |
tree | 1afcfe2d1d800d016e312435a91318ecc244c219 /python/setup.py | |
parent | d8a3bc920caa06f21adcfc288c4c597bb9d33157 (diff) | |
download | msgpack-python-c930f5367b41ef141e80a76506fd91b49fe7d426.tar.gz |
add cythoned source and setup script.
Diffstat (limited to 'python/setup.py')
-rw-r--r-- | python/setup.py | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/python/setup.py b/python/setup.py new file mode 100644 index 0000000..8bfdf82 --- /dev/null +++ b/python/setup.py @@ -0,0 +1,29 @@ +from distutils.core import setup, Extension + +version = '0.0.1' + +msgpack_mod = Extension('msgpack', sources=['msgpack.c']) + +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='Naoki INADA', + author_email='songofacandy@gmail.com', + version=version, + ext_modules=[msgpack_mod], + description='The MessagePack serializer/desirializer.', + long_description=long_desc, + ) |