Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Use --user for tox install instead of virtualenv
[releng/global-jjb.git]
/
shell
/
tox-install.sh
diff --git
a/shell/tox-install.sh
b/shell/tox-install.sh
index
17bebec
..
3aceceb
100644
(file)
--- a/
shell/tox-install.sh
+++ b/
shell/tox-install.sh
@@
-1,4
+1,4
@@
-#!/bin/bash
+#!/bin/bash
-l
# SPDX-License-Identifier: EPL-1.0
##############################################################################
# Copyright (c) 2017 The Linux Foundation and others.
# SPDX-License-Identifier: EPL-1.0
##############################################################################
# Copyright (c) 2017 The Linux Foundation and others.
@@
-14,12
+14,7
@@
echo "---> tox-install.sh"
# DO NOT set -u as virtualenv's activate script has unbound variables
set -e -o pipefail
# DO NOT set -u as virtualenv's activate script has unbound variables
set -e -o pipefail
-virtualenv --quiet "/tmp/v/tox"
-# shellcheck source=/tmp/v/tox/bin/activate disable=SC1091
-source "/tmp/v/tox/bin/activate"
-pip install --quiet --upgrade pip
-pip install --quiet --upgrade pipdeptree
-pip install --quiet --upgrade tox argparse
+python -m pip install --user --quiet --upgrade argparse detox "tox<3.0.0" tox-pyenv
-echo "---->
Pip Dependency Tre
e"
-pip
deptre
e
+echo "---->
pip freez
e"
+pip
freez
e