[Python-checkins] release: use python3 builtin virtualenvs

benjamin.peterson python-checkins at python.org
Sat Nov 21 17:09:08 EST 2015


https://hg.python.org/release/rev/94572be8a1a2
changeset:   99:94572be8a1a2
user:        Benjamin Peterson <benjamin at python.org>
date:        Sat Nov 21 14:08:38 2015 -0800
summary:
  use python3 builtin virtualenvs

files:
  release.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/release.py b/release.py
--- a/release.py
+++ b/release.py
@@ -281,7 +281,7 @@
     """Build and tarball the documentation"""
     print("Building docs")
     with tempfile.TemporaryDirectory() as venv:
-        run_cmd(['virtualenv', venv])
+        run_cmd(['python3', '-m', 'venv', venv])
         pip = os.path.join(venv, 'bin', 'pip')
         run_cmd([pip, 'install', 'Sphinx==1.2.3'])
         # run_cmd([pip, 'install', 'Sphinx'])

-- 
Repository URL: https://hg.python.org/release


More information about the Python-checkins mailing list