From 0e1dda4501a6f71112a70bbb6eda034acfaaa147 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Tue, 20 Mar 2018 17:34:35 +0000 Subject: xci: files: install-lib.sh: Install pip packages as user We can avoid "polluting" the system with all the pip packages we install so we could just install them in the user's home directory. Change-Id: I5b3369175535e8ab74c2591d1284c743391fd718 Signed-off-by: Markos Chandras --- xci/files/install-lib.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/xci/files/install-lib.sh b/xci/files/install-lib.sh index 35a7d629..0ea6f181 100644 --- a/xci/files/install-lib.sh +++ b/xci/files/install-lib.sh @@ -163,11 +163,7 @@ function install_ansible() { PIP=$(which pip) echo "Using pip: $(${PIP} --version)" - sudo -H -E ${PIP} -q install --upgrade virtualenv - sudo -H -E ${PIP} -q install --upgrade pip - # upgrade setuptools, as latest version is needed to install some projects - sudo -H -E ${PIP} -q install --upgrade setuptools - ${PIP} install -q --user --upgrade ansible==$XCI_ANSIBLE_PIP_VERSION + ${PIP} -q install --user --upgrade virtualenv pip setuptools ansible==$XCI_ANSIBLE_PIP_VERSION } # vim: set ts=4 sw=4 expandtab: -- cgit 1.2.3-korg