mkpyproject funktioniert jetzt auch ohne python interpreter

This commit is contained in:
Michael Stangl
2026-06-10 10:18:50 +02:00
parent 7320efba56
commit 0ab28f5cca
14 changed files with 478 additions and 43 deletions
+20
View File
@@ -0,0 +1,20 @@
@echo off
REM ================================================================
REM __PROJECT_UPPER__ - Python Virtual Environment einrichten
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!
)