mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-20 21:39:53 +01:00
add cythoned source and setup script.
This commit is contained in:
parent
d8a3bc920c
commit
c930f5367b
1
python/msgpack
Symbolic link
1
python/msgpack
Symbolic link
@ -0,0 +1 @@
|
||||
../msgpack
|
3231
python/msgpack.c
Normal file
3231
python/msgpack.c
Normal file
File diff suppressed because it is too large
Load Diff
29
python/setup.py
Normal file
29
python/setup.py
Normal file
@ -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,
|
||||
)
|
Loading…
x
Reference in New Issue
Block a user