From 0ff479d4739297846ce68114f7d77a966dbb2a0e Mon Sep 17 00:00:00 2001 From: KOOKIIE <25145447+KOOKIIEStudios@users.noreply.github.com> Date: Thu, 18 Feb 2021 03:43:55 +0800 Subject: [PATCH] FEAT: Add setup script setup.bat automatically generates venv folder with all required dependencies --- setup.bat | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 setup.bat diff --git a/setup.bat b/setup.bat new file mode 100644 index 0000000..ae4f48d --- /dev/null +++ b/setup.bat @@ -0,0 +1,17 @@ +echo off +echo Setting up virtual environment, please wait! +echo Do not close this window until you are told to do so! + +echo Generating venv folder... +rem Generate VENV in project dir +Python -m venv %~dp0venv + +echo Installing dependencies... +rem Activate the VENV +call venv\scripts\activate.bat + +rem Install requirements +pip install wheel +pip install -r requirements.txt +echo Sequence completed! You may now close this window: +pause \ No newline at end of file