diff options
| -rw-r--r-- | coin_build_instructions.py | 4 | ||||
| -rw-r--r-- | requirements.txt | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/coin_build_instructions.py b/coin_build_instructions.py index b89bf850e..8375913b5 100644 --- a/coin_build_instructions.py +++ b/coin_build_instructions.py @@ -127,6 +127,10 @@ def call_setup(python_ver, phase): # When the 'python_ver' variable is empty, we are using Python 2 # Pip is always upgraded when CI template is provisioned, upgrading it in later phase may cause perm issue run_instruction([env_pip, "install", "-r", "requirements.txt"], "Failed to install dependencies") + if sys.platform == "win32": + run_instruction([env_pip, "install", "numpy==1.19.3"], "Failed to install numpy 1.19.3") + else: + run_instruction([env_pip, "install", "numpy"], "Failed to install numpy") cmd = [env_python, "-u", "setup.py"] if phase in ["BUILD"]: diff --git a/requirements.txt b/requirements.txt index fd9665509..dd4b6cc8e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,3 @@ -numpy setuptools sphinx six |
