Files
UnrealEngineUWP/Engine/Source/Programs/WebTestsServer/createenv.bat

15 lines
306 B
Batchfile
Raw Normal View History

@echo off
if exist env (
call .\env\Scripts\activate.bat
) else (
..\..\..\Binaries\ThirdParty\Python3\Win64\python.exe -m venv env
call .\env\Scripts\activate.bat
python -m pip install --upgrade pip
pip install -r requirements.txt
if %ERRORLEVEL% NEQ 0 (
rmdir /s /q env
exit %ERRORLEVEL%
)
)