aboutsummaryrefslogtreecommitdiffstats
path: root/coin_build_instructions.py
diff options
context:
space:
mode:
Diffstat (limited to 'coin_build_instructions.py')
-rw-r--r--coin_build_instructions.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/coin_build_instructions.py b/coin_build_instructions.py
index 95bd4eba2..325b02dec 100644
--- a/coin_build_instructions.py
+++ b/coin_build_instructions.py
@@ -112,7 +112,8 @@ def call_setup(python_ver, phase):
run_instruction(["virtualenv", "-p", _pExe, _env], "Failed to create virtualenv")
# When the 'python_ver' variable is empty, we are using Python 2
# setuptools from v45+ removed the support for Python 2, so we pin an old release
- install_pip_dependencies(env_pip, ["pip", "numpy",
+ install_pip_dependencies(env_pip, ["pip",
+ "numpy" if python_ver else "numpy==1.16.6",
"setuptools" if python_ver else "setuptools==44.0.0",
"sphinx", "six", "wheel"])