python: setup.py should use make.sh for non-Windows systems, so all the *nix systems are supported

This commit is contained in:
Nguyen Anh Quynh 2015-01-28 13:48:51 +08:00
parent decc0d3d02
commit fdffe2b048

View File

@ -113,7 +113,7 @@ class custom_build_clib(build_clib):
os.chdir("src")
if SYSTEM == "linux2" or SYSTEM == "darwin":
if SYSTEM != "win32":
os.chmod("make.sh", stat.S_IREAD|stat.S_IEXEC)
os.system("BUILD_CORE_ONLY=yes ./make.sh")