Skip to content

Commit

Permalink
FEAT: Add setup script
Browse files Browse the repository at this point in the history
setup.bat automatically generates venv folder with all required dependencies
  • Loading branch information
KOOKIIEStudios committed Feb 17, 2021
1 parent 6d58ba8 commit 0ff479d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions setup.bat
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0ff479d

Please sign in to comment.