summaryrefslogtreecommitdiff
path: root/python/setup.py
diff options
context:
space:
mode:
authorNaoki INADA <inada-n@eagle>2009-06-22 13:26:41 +0900
committerNaoki INADA <inada-n@eagle>2009-06-22 13:26:41 +0900
commitf4387e9746a6f7df0fef885a5c45f91a5d892e48 (patch)
treec6953dd9e149b1d10ccf14c65ec91e6825e08a9e /python/setup.py
parent0d14239c2197b616196a535c9aeb818da1040e9d (diff)
parenta1fb1507d45d27f0c08e8d39054987ed6dcaf9e7 (diff)
downloadmsgpack-python-f4387e9746a6f7df0fef885a5c45f91a5d892e48.tar.gz
merge changing include path
Diffstat (limited to 'python/setup.py')
-rw-r--r--python/setup.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/python/setup.py b/python/setup.py
index f4c84dc..c0d93ac 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -1,8 +1,13 @@
from distutils.core import setup, Extension
+import os
version = '0.0.1'
-msgpack_mod = Extension('msgpack', sources=['msgpack.cpp'])
+PACKAGE_ROOT = os.getcwdu()
+INCLUDE_PATH = os.path.join(PACKAGE_ROOT, 'include')
+msgpack_mod = Extension('msgpack',
+ sources=['msgpack.cpp'],
+ include_dirs=[INCLUDE_PATH])
desc = 'MessagePack serializer/desirializer.'
long_desc = desc + """