BIN = .venv/bin | |
PIP = $(BIN)/pip | |
PYTEST = $(BIN)/pytest | |
PIPCONF = $(HOME)/.config/pip/pip.conf | |
develop: | |
rm -rf .venv | |
python -m venv .venv | |
source "$HOME/.cargo/env" | |
$(PIP) install --upgrade pip | |
$(PIP) install wheel | |
$(PIP) install \ | |
-r requirements/dev.txt \ | |
-r requirements/training.txt \ | |
-r requirements/pipeline.txt | |
.venv: develop | |
test: | |
$(PYTEST) -s --cov=src tests/ | |