This repository has been archived on 2022-06-28. You can view files and clone it, but cannot push or open issues/pull-requests.
pieter/Makefile

19 lines
330 B
Makefile
Raw Normal View History

2021-12-30 21:29:05 +01:00
# =====CONFIG=====
PYTHON := python3
VENV := .venv
# =====RECIPES=====
# Create the virtual environment
$(VENV)/bin/activate: setup.py
'$(PYTHON)' -m venv '$(VENV)'
'$(VENV)/bin/pip' install -r requirements.txt
venv: $(VENV)/bin/activate
.PHONY: venv
# Remove any temporary files
clean:
@ rm -rf '$(VENV)'
.PHONY: clean