Skip to content

Commit

Permalink
Fix the environment setup to correctly reuse the installed environment.
Browse files Browse the repository at this point in the history
Before this PR, if the virtual environment already existed, an attempt would be made to reactivate it instead of to create it; but an incorrect path meant this would fail
  • Loading branch information
tphung3 committed May 11, 2023
1 parent 459b1a7 commit ba4f5e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ help: ## me
VENV = .venv
.PHONY: virtualenv
virtualenv: ## create an activate a virtual env
test -f venv/bin/activate || $(PYTHON) -m venv $(VENV)
test -f $(VENV)/bin/activate || $(PYTHON) -m venv $(VENV)
echo "Run 'source $(VENV)/bin/activate' to activate the virtual environment"


Expand Down

0 comments on commit ba4f5e8

Please sign in to comment.