Skip to content

Commit

Permalink
Feat: setup.sh: Allow overriding which Python binary to use for venv
Browse files Browse the repository at this point in the history
Debian systems do not have Python3 as `python`. With this change developers on
that platform can use:

```console
$ PYTHON=python3 ./scripts/setup.sh
```
  • Loading branch information
ijc committed Dec 21, 2024
1 parent 87ce2dc commit 8a069cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if [ -d "$env_name" ]; then
echo "Virtual environment '$env_name' already exists."
else
echo "Creating Virtual environment..."
python -m venv .venv
${PYTHON:-python} -m venv .venv
fi
echo "Activating virtual environment..."
source .venv/bin/activate
Expand Down

0 comments on commit 8a069cd

Please sign in to comment.