hydrus/open_venv.bat

18 lines
197 B
Batchfile
Raw Normal View History

@ECHO off
2022-11-23 21:01:41 +00:00
pushd "%~dp0"
IF NOT EXIST "venv\" (
2023-08-30 16:25:24 +00:00
SET /P gumpf="Sorry, you do not seem to have a venv!"
2022-11-23 21:01:41 +00:00
popd
EXIT /B 1
)
2022-11-23 21:01:41 +00:00
ECHO Type 'deactivate' to return.
CALL venv\Scripts\activate.bat