Included extra modul parameter

This commit is contained in:
kevinveenbirkenbach committed 2026-01-21 16:02:18 +01:00
1 parent 33ab4b61dc
commit a89f74fac0
1 file changed
+10 -1
+10 -1
View File
@@ -3,11 +3,20 @@ set -euo pipefail
: "${PYTHON:?PYTHON not set}"
EXTRA="${1:-}"
install_python_deps() {
echo "📦 Installing Python dependencies"
"${PYTHON}" -m pip install --upgrade pip setuptools wheel
"${PYTHON}" -m pip install -e .
if [[ -n "${EXTRA}" ]]; then
echo "→ Installing with extras: [${EXTRA}]"
"${PYTHON}" -m pip install -e ".[${EXTRA}]"
else
echo "→ Installing base package"
"${PYTHON}" -m pip install -e .
fi
}
install_python_deps