summaryrefslogtreecommitdiff
path: root/setup.py
blob: 65ca4126b7d4621599336caf28f19a2bd6419b4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
from distutils.core import setup, Extension
import os

version = '0.0.1'

PACKAGE_ROOT = os.getcwdu()
INCLUDE_PATH = os.path.join(PACKAGE_ROOT, 'include')
msgpack_mod = Extension('msgpack',
                        sources=['msgpack.c'],
                        include_dirs=[INCLUDE_PATH])

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=desc,
      long_description=long_desc,
      )