9 lines
285 B
Bash
9 lines
285 B
Bash
# Create .venv automatically if it doesn't exist
|
|
if [ ! -d .venv ]; then
|
|
python3 -m venv .venv
|
|
.venv/bin/python -m pip install -U pip setuptools wheel
|
|
fi
|
|
|
|
# Activate the environment manually (avoids Python 3.13 deprecation warning)
|
|
export VIRTUAL_ENV=$PWD/.venv
|
|
PATH_add .venv/bin
|