diff --git a/scripts/install b/scripts/install index 1fec9a0..d1ffc86 100755 --- a/scripts/install +++ b/scripts/install @@ -113,7 +113,7 @@ chown -R "$app:" "$final_path" source "${final_path}/venv/bin/activate" set -o nounset ynh_exec_as $app $final_path/venv/bin/pip install --upgrade wheel pip - ynh_exec_as $app $final_path/venv/bin/pip install --no-deps -r "$final_path/requirements.txt" + ynh_exec_as $app $final_path/venv/bin/pip install --no-deps --prefer-binary -r "$final_path/requirements.txt" ) #================================================= diff --git a/scripts/restore b/scripts/restore index 498e617..78760ee 100755 --- a/scripts/restore +++ b/scripts/restore @@ -96,7 +96,7 @@ python3 -m venv "${final_path}/venv" source "${final_path}/venv/bin/activate" set -o nounset ynh_exec_as $app $final_path/venv/bin/pip install --upgrade wheel pip - ynh_exec_as $app $final_path/venv/bin/pip install --no-deps -r "$final_path/requirements.txt" + ynh_exec_as $app $final_path/venv/bin/pip install --no-deps --prefer-binary -r "$final_path/requirements.txt" ) #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 4ecde84..8545ff7 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -97,7 +97,7 @@ chown -R "$app:" "$final_path" source "${final_path}/venv/bin/activate" set -o nounset ynh_exec_as $app $final_path/venv/bin/pip install --upgrade wheel pip - ynh_exec_as $app $final_path/venv/bin/pip install --no-deps -r "$final_path/requirements.txt" + ynh_exec_as $app $final_path/venv/bin/pip install --no-deps --prefer-binary -r "$final_path/requirements.txt" ) #================================================= diff --git a/test_requirements.sh b/test_requirements.sh index e7ececf..14b439e 100755 --- a/test_requirements.sh +++ b/test_requirements.sh @@ -14,4 +14,4 @@ python3 -m venv "${final_path}/venv" source "${final_path}/venv/bin/activate" $final_path/venv/bin/pip install --upgrade wheel pip -$final_path/venv/bin/pip install --no-deps -r "./conf/requirements.txt" +$final_path/venv/bin/pip install --no-deps --prefer-binary -r "./conf/requirements.txt"