Files
UnrealEngine/Engine/Source/Programs/WebTestsServer/createenv.bat
2025-05-18 13:04:45 +08:00

15 lines
263 B
Batchfile

@echo off
if not exist env (
..\..\..\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%
)