diff --git a/Makefile b/Makefile index 7894b579..f663250c 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,11 @@ -VENV_NAME?=venv +VENV_NAME ?= venv venv: $(VENV_NAME)/bin/activate $(VENV_NAME)/bin/activate: setup.py - pip3 install --upgrade pip virtualenv - @test -d $(VENV_NAME) || python3 -m virtualenv --clear $(VENV_NAME) - ${VENV_NAME}/bin/python -m pip install -e .[dev] + @test -d $(VENV_NAME) || python3 -m venv $(VENV_NAME) + @${VENV_NAME}/bin/python -m pip install --upgrade pip + @${VENV_NAME}/bin/python -m pip install -e .[dev] @touch $(VENV_NAME)/bin/activate test: venv