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

22
bin/install_py.bat Normal file
View File

@@ -0,0 +1,22 @@
@echo off
REM ================================================================
REM PLANTPLAN - Python Virtual Environment einrichten
REM ================================================================
REM Erstellt .venv und installiert Abhängigkeiten aus requirements.txt
REM ================================================================
call "%~dp0setenv.bat"
if not exist "%PROJECT%\.venv" (
echo Initialisiere Python virtual environment...
py -m venv "%PROJECT%\.venv" --upgrade-deps
echo Erfolgreich.
call "%PROJECT%\.venv\Scripts\activate.bat"
echo Installiere erforderliche Python Packages...
pip install -r "%PROJECT%\requirements.txt" -q
echo Erfolgreich.
deactivate
) else (
echo Erforderliche Python Packages bereits installiert!
)