python: build the core with make.sh for all non-Windows system

This commit is contained in:
Nguyen Anh Quynh 2015-01-28 13:39:31 +08:00
parent ac0cb810f4
commit 53e92938ce
1 changed files with 2 additions and 1 deletions

View File

@ -113,7 +113,8 @@ class custom_build_clib(build_clib):
os.chdir("src")
if SYSTEM == "linux2" or SYSTEM == "darwin":
# platform description refers at https://docs.python.org/2/library/sys.html#sys.platform
if SYSTEM != "win32":
os.chmod("make.sh", stat.S_IREAD|stat.S_IEXEC)
os.system("BUILD_CORE_ONLY=yes ./make.sh")