Compare commits

..

2 Commits

Author SHA1 Message Date
78f9f5858d init_venv added for ansible installation 2023-12-25 11:16:41 +01:00
82a408a6cf devdi update 2023-12-25 07:50:29 +01:00
2 changed files with 9 additions and 1 deletions

@ -1 +1 @@
Subproject commit 7e4f92aaf1cd1dd2626e2b3337277eddfc37578e
Subproject commit 5a94efbc8c4ca7e1a7ef6f40df53177717bb7c16

8
z_server/init_venv Executable file
View File

@ -0,0 +1,8 @@
#!/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