Files
sps_skel/bin/install_py.bat
T
2026-09-04 14:57:30 +02:00

21 lines
648 B
Batchfile

@echo off
REM ================================================================
REM SPS_SKEL - Python Virtual Environment einrichten
REM ================================================================
call "%~dp0setenv.bat"
if not exist "%SPS_SKEL%\.venv" (
echo Initialisiere Python virtual environment...
py -m venv "%SPS_SKEL%\.venv" --upgrade-deps
echo Erfolgreich.
call "%SPS_SKEL%\.venv\Scripts\activate.bat"
echo Installiere erforderliche Python Packages...
pip install -r "%SPS_SKEL%\requirements.txt" -q
echo Erfolgreich.
deactivate
) else (
echo Erforderliche Python Packages bereits installiert!
)