Fix setup scripts.

Support _msgpack.cpp
This commit is contained in:
INADA Naoki 2012-06-26 17:37:22 +09:00
parent ebe4c1f4bc
commit 06ed24a529
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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):