From abbd47b69a6388a5c5aed9fa54d61cfe9b6e0545 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9cile=20Vuilleumier?= Date: Wed, 21 Aug 2024 15:50:27 +0200 Subject: [PATCH] Use Poetry --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a92089a..3aac566 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +VENV_PATH ?= $(shell poetry env info --path) + .PHONY: help help: ## Display this help message @echo "Usage: make " @@ -8,8 +10,8 @@ help: ## Display this help message .PHONY: install install: ## Install package - pip install . + poetry install .PHONY: tests tests: ## Run unit tests - pytest -vvv tests + poetry run pytest -vvv tests