[Python-checkins] Doc: Update pip and setuptools when creating the virtual environment (GH-13307)

Miss Islington (bot) webhook-mailer at python.org
Tue May 14 07:49:56 EDT 2019


https://github.com/python/cpython/commit/0a52d73ddeeac23f73c919d636e7008ddde5c72b
commit: 0a52d73ddeeac23f73c919d636e7008ddde5c72b
branch: master
author: Stéphane Wirtel <stephane at wirtel.be>
committer: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
date: 2019-05-14T04:49:49-07:00
summary:

Doc: Update pip and setuptools when creating the virtual environment (GH-13307)



Add a new pip install before `sphinx` etc.. because we should use the last version of `pip` and `setuptools`

files:
M Doc/Makefile

diff --git a/Doc/Makefile b/Doc/Makefile
index cf1bb88b0b8e..6f86728ea834 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -132,6 +132,7 @@ clean:
 
 venv:
 	$(PYTHON) -m venv $(VENVDIR)
+	$(VENVDIR)/bin/python3 -m pip install -U pip setuptools
 	$(VENVDIR)/bin/python3 -m pip install -U Sphinx blurb python-docs-theme
 	@echo "The venv has been created in the $(VENVDIR) directory"
 



More information about the Python-checkins mailing list