setup_env no longer asks nor installs pyinstaller

This commit is contained in:
DevilXD committed 2022-12-07 09:34:19 +01:00
1 parent c2a28854d1
commit 098d9c81e9
1 file changed
+1 -5
+1 -5
View File
@@ -1,5 +1,5 @@
@echo off @echo off
set /p "choice=Install PyInstaller so you can build an EXEcutable? (y/n) " cls
set dirpath=%~dp0 set dirpath=%~dp0
if "%dirpath:~-1%" == "\" set dirpath=%dirpath:~0,-1% if "%dirpath:~-1%" == "\" set dirpath=%dirpath:~0,-1%
git --version > nul git --version > nul
@@ -14,10 +14,6 @@ echo:
echo Installing requirements.txt... echo Installing requirements.txt...
"%dirpath%\env\scripts\pip" install wheel "%dirpath%\env\scripts\pip" install wheel
"%dirpath%\env\scripts\pip" install -r "%dirpath%\requirements.txt" "%dirpath%\env\scripts\pip" install -r "%dirpath%\requirements.txt"
echo:
echo Installing PyInstaller...
if "%choice%" == "y" "%dirpath%\env\scripts\pip" install pyinstaller
"%dirpath%\env\scripts\python" "%dirpath%\env\scripts\pywin32_postinstall.py" -install -silent
goto DONE goto DONE
:NOPYTHON :NOPYTHON
echo: echo: