diff --git a/build.sh b/build.sh index 4bd9d8fb..61b16ce7 100755 --- a/build.sh +++ b/build.sh @@ -2,11 +2,11 @@ set -e -if [ ! -d "venv" ]; then - virtualenv venv || exit +if [ ! -d ".venv" ]; then + python3 -m venv .venv || exit fi -. venv/bin/activate +. .venv/bin/activate pip install .[build] ruff format . cd docs