mkvenv adaption: no update of outdated after installation
This commit is contained in:
parent
e7b9c75da0
commit
2b76f4719a
2
mkvenv
2
mkvenv
@ -3,7 +3,7 @@ if [ ! -e venv ];then
|
|||||||
if venv/bin/pip -V | grep `pwd -P`; then
|
if venv/bin/pip -V | grep `pwd -P`; then
|
||||||
venv/bin/pip install --upgrade pip
|
venv/bin/pip install --upgrade pip
|
||||||
find . -name requirements.txt | xargs -L 1 venv/bin/pip install -r
|
find . -name requirements.txt | xargs -L 1 venv/bin/pip install -r
|
||||||
venv/bin/pip list --outdated --format=json | jq -r '.[] | .name'|xargs -n1 venv/bin/pip install -U
|
#venv/bin/pip list --outdated --format=json | jq -r '.[] | .name'|xargs -n1 venv/bin/pip install -U
|
||||||
else
|
else
|
||||||
echo Not running in the venv!
|
echo Not running in the venv!
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user