summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MANIFEST8
l---------include1
l---------msgpack1
-rw-r--r--setup.py7
4 files changed, 11 insertions, 6 deletions
diff --git a/MANIFEST b/MANIFEST
index c7dd3a3..dc042ae 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -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
diff --git a/include b/include
new file mode 120000
index 0000000..a96aa0e
--- /dev/null
+++ b/include
@@ -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
diff --git a/setup.py b/setup.py
index e5651a0..65ca412 100644
--- a/setup.py
+++ b/setup.py
@@ -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 + """