mirror of
https://github.com/morten-olsen/configs.git
synced 2026-02-08 00:46:24 +01:00
10 lines
252 B
Bash
10 lines
252 B
Bash
if [ ! -d "$ROOT/.venv" ]; then
|
|
echo "Creating virtual environment..."
|
|
python3 -m venv $ROOT/.venv
|
|
source $ROOT/.venv/bin/activate
|
|
pip install -r $ROOT/requirements.txt
|
|
touch .venv/touchfile
|
|
else
|
|
source $ROOT/.venv/bin/activate
|
|
fi
|