9 rindas
327 B
Bash
Izpildāmais fails
9 rindas
327 B
Bash
Izpildāmais fails
#!/bin/sh
|
|
#
|
|
BASEPATH=`realpath $(dirname $0)`
|
|
|
|
python3 -m venv $BASEPATH/venv
|
|
$BASEPATH/venv/bin/pip install --upgrade pip
|
|
find $BASEPATH -name requirements.txt | xargs -L 1 $BASEPATH/venv/bin/pip install -r
|
|
$BASEPATH/venv/bin/pip list --outdated --format=json | jq -r '.[] | .name'|xargs -n1 $BASEPATH/venv/bin/pip install -U
|