mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-22 00:19:19 +01:00
Refactor include path.
This commit is contained in:
parent
85ca594118
commit
a1fb1507d4
@ -2,7 +2,7 @@ msgpack.c
|
|||||||
setup.py
|
setup.py
|
||||||
pack.h
|
pack.h
|
||||||
unpack.h
|
unpack.h
|
||||||
msgpack/pack_define.h
|
include/msgpack/pack_define.h
|
||||||
msgpack/pack_template.h
|
include/msgpack/pack_template.h
|
||||||
msgpack/unpack_define.h
|
include/msgpack/unpack_define.h
|
||||||
msgpack/unpack_template.h
|
include/msgpack/unpack_template.h
|
||||||
|
1
python/include
Symbolic link
1
python/include
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
..
|
@ -1 +0,0 @@
|
|||||||
../msgpack
|
|
@ -1,8 +1,13 @@
|
|||||||
from distutils.core import setup, Extension
|
from distutils.core import setup, Extension
|
||||||
|
import os
|
||||||
|
|
||||||
version = '0.0.1'
|
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.'
|
desc = 'MessagePack serializer/desirializer.'
|
||||||
long_desc = desc + """
|
long_desc = desc + """
|
||||||
|
Loading…
x
Reference in New Issue
Block a user