diff options
author | Naoki INADA <inada-n@gear> | 2009-06-10 10:45:07 +0900 |
---|---|---|
committer | Naoki INADA <inada-n@gear> | 2009-06-10 10:45:07 +0900 |
commit | fcc645b18bcd36b6240acdfd01ce4d193f1912f3 (patch) | |
tree | e0f04a82176b93f1af90dea419d5672b79bd9ef7 /setup.py | |
parent | 85b68fbf8c33fb7daaaa1caafe50be8361c4b1d1 (diff) | |
download | msgpack-python-fcc645b18bcd36b6240acdfd01ce4d193f1912f3.tar.gz |
Refactor include path.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 + """ |