From 44fc3122e0d8faa902587b62371578ae639f30c9 Mon Sep 17 00:00:00 2001 From: DevilXD Date: Mon, 19 Sep 2022 22:51:42 +0200 Subject: [PATCH] Improve venv setup script --- setup_env.bat | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup_env.bat b/setup_env.bat index 8f37302..f1b6fb0 100644 --- a/setup_env.bat +++ b/setup_env.bat @@ -1,2 +1,6 @@ +@set /p "choice=Install PyInstaller so you can build an EXEcutable? (y/n) " python -m venv env +%CD%/env/scripts/pip install wheel %CD%/env/scripts/pip install -r %CD%/requirements.txt +if "%choice%" == "y" %CD%/env/scripts/pip install pyinstaller +%CD%/env/scripts/python %CD%/env/scripts/pywin32_postinstall.py -install -silent