mkvenv adaption: no update of outdated after installation

This commit is contained in:
Dirk Alders 2025-07-15 01:39:09 +02:00
parent e7b9c75da0
commit 2b76f4719a

2
mkvenv
View File

@ -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