summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsiddharth <s@ricketyspace.net>2021-06-27 00:42:36 -0400
committersiddharth <s@ricketyspace.net>2021-06-27 00:42:36 -0400
commitd9c7f6206f2bfdf491acdbaf16c02cbf27f0593d (patch)
tree3ed98f94cc94f277f4cdfff2a2237666e51ebc4e
parent16236644080372de795aec2b8ab10b69331e737f (diff)
Makefile: add venv (phony target)
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d28abce..f7fbe4e 100644
--- a/Makefile
+++ b/Makefile
@@ -3,11 +3,17 @@
#
# Copyright © 2020 rsiddharth <s@ricketyspace.net>
#
+VENV_DIR=.venv
+VENV=virtualenv
fmt:
black acmens.py setup.py
.PHONY: fmt
+venv:
+ test -d ${VENV_DIR} || ${VENV} --python=python3 ${VENV_DIR}
+.PHONY: venv
+
develop:
@python3 setup.py develop
@pip install -U pip black twine