aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2020-12-15 23:28:21 +0000
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2020-12-15 23:28:21 +0000
commit463a42246c53b3d32a9b1c6c9fc9509a8f07cda2 (patch)
tree0745a3359b0f3233c2a4add23b49a432a104cbc7
parentClean up apple script (diff)
downloadTCPD-463a42246c53b3d32a9b1c6c9fc9509a8f07cda2.tar.gz
TCPD-463a42246c53b3d32a9b1c6c9fc9509a8f07cda2.zip
Preview pip resolver
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 74ae149..4ef6c20 100644
--- a/Makefile
+++ b/Makefile
@@ -68,6 +68,7 @@ clean:
venv: $(VENV_DIR)/bin/activate
$(VENV_DIR)/bin/activate:
- test -d $(VENV_DIR) || virtualenv $(VENV_DIR)
- source $(VENV_DIR)/bin/activate && pip install -r ./requirements.txt
+ test -d $(VENV_DIR) || python -m venv $(VENV_DIR)
+ source $(VENV_DIR)/bin/activate && pip install \
+ --use-feature=2020-resolver -r ./requirements.txt
touch $(VENV_DIR)/bin/activate