Automatische Installation der Python Virtual Environment, falls diese noch nicht exisitert
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
@echo off
|
@echo off
|
||||||
call cremig_setenv.bat
|
CALL cremig_setenv.bat
|
||||||
call %CREMIG%\.venv\Scripts\activate.bat
|
IF NOT EXIST %CREMIG%\.venv CALL %CREMIG_BIN%\install_py.bat
|
||||||
if "%1" == "-s" (set SIVAS_ID=%2) else (set /p SIVAS_ID=Enter Sivas ID:)
|
CALL %CREMIG%\.venv\Scripts\activate.bat
|
||||||
|
IF "%1" == "-s" (set SIVAS_ID=%2) else (set /p SIVAS_ID=Enter Sivas ID:)
|
||||||
python %CREMIG_LIB%\update_database.py --sivas=%SIVAS_ID%
|
python %CREMIG_LIB%\update_database.py --sivas=%SIVAS_ID%
|
||||||
deactivate
|
deactivate
|
||||||
|
|||||||
Reference in New Issue
Block a user