mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-10-19 20:03:16 +00:00
Fix build from pyx doesn't work.
This commit is contained in:
parent
f74ce3caaa
commit
6aa4aead31
1 changed files with 2 additions and 2 deletions
4
setup.py
4
setup.py
|
@ -31,11 +31,11 @@ def ensure_source(src):
|
||||||
Cython is required for building extension from checkout.
|
Cython is required for building extension from checkout.
|
||||||
Install Cython >= 0.16 or install msgpack from PyPI.
|
Install Cython >= 0.16 or install msgpack from PyPI.
|
||||||
""")
|
""")
|
||||||
cythonize(src)
|
cythonize(pyx)
|
||||||
elif (os.path.exists(pyx) and
|
elif (os.path.exists(pyx) and
|
||||||
os.stat(src).st_mtime < os.stat(pyx).st_mtime and
|
os.stat(src).st_mtime < os.stat(pyx).st_mtime and
|
||||||
have_cython):
|
have_cython):
|
||||||
cythonize(src)
|
cythonize(pyx)
|
||||||
|
|
||||||
# Use C++ compiler on win32.
|
# Use C++ compiler on win32.
|
||||||
# MSVC9 doesn't provide stdint.h when using C Compiler.
|
# MSVC9 doesn't provide stdint.h when using C Compiler.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue