|
@@ -0,0 +1,8 @@
|
|
1
|
+#!/bin/sh
|
|
2
|
+#
|
|
3
|
+BASEPATH=`realpath $(dirname $0)`
|
|
4
|
+
|
|
5
|
+python3 -m venv $BASEPATH/venv
|
|
6
|
+$BASEPATH/venv/bin/pip install --upgrade pip
|
|
7
|
+find $BASEPATH -name requirements.txt | xargs -L 1 $BASEPATH/venv/bin/pip install -r
|
|
8
|
+$BASEPATH/venv/bin/pip list --outdated --format=json | jq -r '.[] | .name'|xargs -n1 $BASEPATH/venv/bin/pip install -U
|