diff --git a/Makefile b/Makefile index 2e80bf48..ef27c8ab 100644 --- a/Makefile +++ b/Makefile @@ -71,6 +71,14 @@ down-maintenance: ## Stop the maintenance mode fi \ ,) +.PHONY: venv +venv: .venv ## Creates a python virtual environment with dev tools (pip, pylint, ...) +.venv: + @python3 -m venv .venv + @.venv/bin/pip3 install --upgrade pip wheel setuptools + @.venv/bin/pip3 install typer + @echo "To activate the venv, execute 'source .venv/bin/activate'" + # Misc: info & clean .PHONY: info info-vars info-local info: ## Displays some important info