init and some qol stuff for a modpack maker
This commit is contained in:
15
venv.sh
Executable file
15
venv.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
if command -v python3 &> /dev/null; then
|
||||
python="python3"
|
||||
else
|
||||
python="python"
|
||||
fi
|
||||
|
||||
if [ -d .venv ]; then exit 0; fi
|
||||
|
||||
$python -m venv .venv
|
||||
source .venv/bin/activate
|
||||
|
||||
$python -m pip install --upgrade pip
|
||||
$python -m pip install -r requirements.txt
|
||||
Reference in New Issue
Block a user