Fix reviews
This commit is contained in:
1 parent
f8fa68b5b6
commit
792d589f2b
4 files changed
+39
-14
No files matched your search
+5
-3
@@ -7,6 +7,7 @@ if "%dirpath:~-1%" == "\" set "dirpath=%dirpath:~0,-1%"
|
||||
REM Check if git is installed
|
||||
git --version > nul 2>&1
|
||||
if %errorlevel% NEQ 0 (
|
||||
echo:
|
||||
echo No git executable found in PATH!
|
||||
echo:
|
||||
pause
|
||||
@@ -31,16 +32,17 @@ REM Activate the virtual environment and install requirements
|
||||
echo:
|
||||
echo Installing requirements.txt...
|
||||
"%dirpath%\env\scripts\python" -m pip install -U pip
|
||||
|
||||
"%dirpath%\env\scripts\pip" install wheel
|
||||
|
||||
"%dirpath%\env\scripts\pip" install -r "%dirpath%\requirements.txt"
|
||||
if %errorlevel% NEQ 0 (
|
||||
echo:
|
||||
echo Failed to install requirements.
|
||||
echo:
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo:
|
||||
echo All done!
|
||||
echo Environment setup completed successfully.
|
||||
echo:
|
||||
pause
|
||||
Reference in new issue
Block a user