The beginning tm

This commit is contained in:
Jef Roosens 2022-05-31 08:47:25 +02:00
parent 8682fc9110
commit 9023d9ccbb
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
5 changed files with 25 additions and 0 deletions

13
Makefile Normal file
View file

@ -0,0 +1,13 @@
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