summaryrefslogtreecommitdiff
path: root/common/pkg/pip_install_requirements.sh
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2016-05-19 17:19:31 -0300
committerdrebs <drebs@leap.se>2016-06-08 12:42:20 -0300
commitf01b2cf3aa27350eae788152f95c4f9ca8e11b9f (patch)
tree728d6b5e0cf5b626807bb7a1dc996a9cdb90ac6f /common/pkg/pip_install_requirements.sh
parentd11849105e06b16e03ad938b6e41e934e99a33cc (diff)
[bug] install pip from default location
Old versions of pip do not accept the --trusted-host option and will complain when trying to upgrade pip from wheel. To fix that we upgrade pip from usual location instead of doing it from wheel.
Diffstat (limited to 'common/pkg/pip_install_requirements.sh')
-rwxr-xr-xcommon/pkg/pip_install_requirements.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/pkg/pip_install_requirements.sh b/common/pkg/pip_install_requirements.sh
index d0479365..1f5ac5f6 100755
--- a/common/pkg/pip_install_requirements.sh
+++ b/common/pkg/pip_install_requirements.sh
@@ -80,5 +80,5 @@ insecure_flags=`return_insecure_flags`
packages=`return_packages`
pip install -U wheel
-pip install $install_options pip
+pip install -U pip
pip install $install_options $insecure_flags $packages