]> granicus.if.org Git - python/commitdiff
Doc: Update pip and setuptools when creating the virtual environment (GH-13307)
authorStéphane Wirtel <stephane@wirtel.be>
Tue, 14 May 2019 11:49:49 +0000 (13:49 +0200)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 14 May 2019 11:49:49 +0000 (04:49 -0700)
Add a new pip install before `sphinx` etc.. because we should use the last version of `pip` and `setuptools`

Doc/Makefile

index cf1bb88b0b8ea410e7f2568e4a590cf838a5fe7a..6f86728ea834c3e7b691587c9470992f5d433e19 100644 (file)
@@ -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"