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

This reverts commit 3b964d2c0a.
This commit is contained in:
Nguyen Anh Quynh 2015-01-28 13:41:40 +08:00
parent 3b964d2c0a
commit 2b26719665

View File

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