Split venv setup and package install targets

This allow to reinstall the packages without
rebuilding the venv in case of dependencies change.
This commit is contained in:
jo 2021-09-15 19:40:58 +02:00
parent f722d1a134
commit 67f4b60b3a
1 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,10 @@ SHARED_DEV_REQUIREMENTS = \
VENV = venv
$(VENV):
python3 -m venv $(VENV)
source $(VENV)/bin/activate
$(MAKE) install
install: venv
source $(VENV)/bin/activate
pip install --upgrade pip setuptools wheel
pip install $(SHARED_DEV_REQUIREMENTS) $(PIP_INSTALL)