[Python-checkins] peps: Add a Makefile command to create a virtualenv with the necessary projects

brett.cannon python-checkins at python.org
Sat Aug 8 21:54:41 CEST 2015


https://hg.python.org/peps/rev/508bd6101782
changeset: 5938:508bd6101782
user: Brett Cannon <brett at python.org>
date: Sat Aug 08 12:54:36 2015 -0700
summary:
 Add a Makefile command to create a virtualenv with the necessary projects installed.
files:
 .hgignore | 1 +
 Makefile | 4 ++++
 2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/.hgignore b/.hgignore
--- a/.hgignore
+++ b/.hgignore
@@ -4,3 +4,4 @@
 *.pyc
 *.pyo
 *~
+venv
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -33,3 +33,7 @@
 
 update:
 	hg pull -u https://hg.python.org/peps
+
+venv:
+	$(PYTHON) -m venv venv
+	./venv/bin/python -m pip install -U docutils
-- 
Repository URL: https://hg.python.org/peps


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /