diff options
author | Markos Chandras <mchandras@suse.de> | 2018-03-20 17:34:35 +0000 |
---|---|---|
committer | Markos Chandras <mchandras@suse.de> | 2018-03-21 15:19:15 +0000 |
commit | 0e1dda4501a6f71112a70bbb6eda034acfaaa147 (patch) | |
tree | 2a9bfad2ccf71e04c2727fd9a5e280c86cbba509 | |
parent | 8aee976f9793f13fc7deb6b838949b12bd96a097 (diff) |
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 <mchandras@suse.de>
-rw-r--r-- | xci/files/install-lib.sh | 6 |
1 files changed, 1 insertions, 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: |