diff options
-rw-r--r-- | MANIFEST | 8 | ||||
l--------- | include | 1 | ||||
l--------- | msgpack | 1 | ||||
-rw-r--r-- | setup.py | 7 |
4 files changed, 11 insertions, 6 deletions
@@ -2,7 +2,7 @@ msgpack.c setup.py pack.h unpack.h -msgpack/pack_define.h -msgpack/pack_template.h -msgpack/unpack_define.h -msgpack/unpack_template.h +include/msgpack/pack_define.h +include/msgpack/pack_template.h +include/msgpack/unpack_define.h +include/msgpack/unpack_template.h @@ -0,0 +1 @@ +..
\ No newline at end of file diff --git a/msgpack b/msgpack deleted file mode 120000 index 430db49..0000000 --- a/msgpack +++ /dev/null @@ -1 +0,0 @@ -../msgpack
\ No newline at end of file @@ -1,8 +1,13 @@ from distutils.core import setup, Extension +import os version = '0.0.1' -msgpack_mod = Extension('msgpack', sources=['msgpack.c']) +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 + """ |