From a89f74fac0a2016757ccdf6d7bbf8accd8468e69 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Wed, 21 Jan 2026 16:02:18 +0100 Subject: [PATCH] Included extra modul parameter --- scripts/install/python.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/scripts/install/python.sh b/scripts/install/python.sh index 3156c82b8a..fe70f3adf3 100755 --- a/scripts/install/python.sh +++ b/scripts/install/python.sh @@ -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