mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-10-22 13:23:17 +00:00
Fix setup scripts.
Support _msgpack.cpp
This commit is contained in:
parent
ebe4c1f4bc
commit
06ed24a529
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
include setup.py
|
include setup.py
|
||||||
include COPYING
|
include COPYING
|
||||||
recursive-include msgpack *.h *.c *.pyx
|
recursive-include msgpack *.h *.c *.pyx *.cpp
|
||||||
recursive-include test *.py
|
recursive-include test *.py
|
||||||
recursive-include test3 *.py
|
recursive-include test3 *.py
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -37,7 +37,7 @@ if have_cython:
|
||||||
cython_compiler.default_options)
|
cython_compiler.default_options)
|
||||||
sdist.__init__(self, *args, **kwargs)
|
sdist.__init__(self, *args, **kwargs)
|
||||||
else:
|
else:
|
||||||
sources = ['msgpack/_msgpack.c']
|
sources = ['msgpack/_msgpack.cpp']
|
||||||
|
|
||||||
for f in sources:
|
for f in sources:
|
||||||
if not os.path.exists(f):
|
if not os.path.exists(f):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue