1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
Description: Avoid running pip while building documentation
There is no Internet access while building the package. Therefore calling pip
will fail.
Author: Benjamin Drung <benjamin.drung@profitbricks.com>
Bug: https://github.com/PyCQA/pylint/issues/2517
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -4,7 +4,6 @@
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
-PIP = pip
PAPER =
BUILDDIR = _build
PYTHON = /usr/bin/env python
@@ -42,7 +41,6 @@ clean:
install-dependencies:
@echo "Install dependencies"
- cd ../ && $(PIP) install -r doc/requirements.txt && cd doc/
build-html:
@echo "If you did not run 'make install-dependencies', you need to."
|