Erste Fassung eingestellt

This commit is contained in:
2025-04-04 10:32:52 +02:00
commit c046e13529
7 changed files with 144 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
@echo off
CALL setenv.bat
IF DEFINED NETWORK_INTERPRETER_PATH (
goto %~1_network
) ELSE (
goto %~1_local
)
:activate_interpreter_local
IF NOT EXIST %PROJECT%\.venv CALL %PROJECT_BIN%\install_py.bat
CALL %PROJECT%\.venv\Scripts\activate.bat
goto :eof
:deactivate_interpreter_local
deactivate
goto :eof
:activate_interpreter_network
SET OLD_PATH=%PATH%
SET PATH=%NETWORK_INTERPRETER_PATH%;%PATH%
goto :eof
:deactivate_interpreter_network
SET PATH=%OLD_PATH%
SET OLD_PATH=
SET NETWORK_INTERPRETER_PATH=
goto :eof