From: Stéphane Wirtel <stephane@wirtel.be>
Date: Tue, 14 May 2019 11:49:49 +0000 (+0200)
Subject: Doc: Update pip and setuptools when creating the virtual environment (GH-13307)
X-Git-Tag: v3.8.0b1~373
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0a52d73ddeeac23f73c919d636e7008ddde5c72b;p=python

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`
---

diff --git a/Doc/Makefile b/Doc/Makefile
index cf1bb88b0b..6f86728ea8 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"