Install plugin requirements in pod
This commit is contained in:
parent
6c0f6d5bd5
commit
cc88242cef
1 changed files with 14 additions and 0 deletions
|
@ -11,6 +11,20 @@ if [ ! -d "/tools/venv" ]; then
|
||||||
source /tools/venv/bin/activate
|
source /tools/venv/bin/activate
|
||||||
$PY -m ensurepip
|
$PY -m ensurepip
|
||||||
$PY -m pip install -r /tools/cutekit/requirements.txt
|
$PY -m pip install -r /tools/cutekit/requirements.txt
|
||||||
|
|
||||||
|
echo "Installing plugins requirements..."
|
||||||
|
if [ -f "/project/meta/plugins/requirements.txt" ]; then
|
||||||
|
echo "Root plugin requirements found."
|
||||||
|
$PY -m pip install -r /project/meta/plugins/requirements.txt
|
||||||
|
fi
|
||||||
|
|
||||||
|
for extern in /project/meta/externs/*; do
|
||||||
|
if [ -f "$extern/meta/plugins/requirements.txt" ]; then
|
||||||
|
echo "Plugin requirements found in $extern."
|
||||||
|
$PY -m pip install -r "$extern/meta/plugins/requirements.txt"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
echo "Virtual environment created."
|
echo "Virtual environment created."
|
||||||
else
|
else
|
||||||
source /tools/venv/bin/activate
|
source /tools/venv/bin/activate
|
||||||
|
|
Loading…
Add table
Reference in a new issue