Install plugin requirements in pod
This commit is contained in:
parent
6c0f6d5bd5
commit
cc88242cef
|
@ -11,6 +11,20 @@ if [ ! -d "/tools/venv" ]; then
|
|||
source /tools/venv/bin/activate
|
||||
$PY -m ensurepip
|
||||
$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."
|
||||
else
|
||||
source /tools/venv/bin/activate
|
||||
|
|
Loading…
Reference in a new issue