alle Default files rein

This commit is contained in:
mistangl
2026-04-10 12:11:52 +02:00
commit 385e33e882
12 changed files with 424 additions and 0 deletions

23
bin/activate_venv.sh Normal file
View File

@@ -0,0 +1,23 @@
#!/usr/bin/env bash
# ================================================================
# PLANTPLAN - Python Virtual Environment aktivieren
# ================================================================
# Dieses Skript muss gesourct werden: source bin/activate_venv.sh
# ================================================================
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$SCRIPT_DIR/setenv.sh"
if [ ! -d "$PROJECT/.venv" ]; then
echo "FEHLER: Virtual environment nicht gefunden."
echo "Bitte zuerst bin/install_py.sh ausfuehren."
return 1
fi
source "$PROJECT/.venv/bin/activate"
echo "Virtuelle Umgebung aktiviert."
echo "Python-Version:"
python --version
echo ""
echo "Installierte Pakete:"
pip list