This repository has been archived on 2026-02-22. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
python/Makefile
2022-05-31 08:50:00 +02:00

13 lines
259 B
Makefile

PYTHON ?= python3
VENV ?= .venv
.PHONY: venv
venv: $(VENV)/bin/activate
$(VENV)/bin/activate: requirements.txt
rm -rf '$(VENV)'
'$(PYTHON)' -m venv '$(VENV)'
'$(VENV)'/bin/pip install -r requirements.txt
.PHONY: shell
shell: venv
@ '$(VENV)'/bin/python