RotorOps/Generator/install-requirements.bat
David Pierron e8bd6b2972
Quality of life (#50)
* updated requirements.txt according to GRIMM's instructions

* added launch configuration and build tasks for VS Code

* updated build scripts and documentation
2023-05-18 22:16:38 -07:00

20 lines
453 B
Batchfile

IF EXIST ".\venv" (
call .\venv\Scripts\activate.bat
) ELSE (
IF EXIST "..\.venv" (
rem try to activate venv from root directory (VS Code default)
call ..\.venv\Scripts\activate.bat
) ELSE (
echo "venv not found. Please create a virtual environment and activate it."
pause >nul
exit
)
)
echo activated python venv.
pip install -r requirements.txt
echo installed python requirements.
if not %1=="-nopause" (
pause >nul
)