Skip to content

Commit

Permalink
Makefile: consistently use pip
Browse files Browse the repository at this point in the history
And link to the upstream bug:
canonical/sphinx-docs-starter-pack#197

Signed-off-by: Simon Deziel <[email protected]>
(cherry picked from commit 1d3b87f)
  • Loading branch information
simondeziel authored and tomponline committed Mar 13, 2024
1 parent cd8938c commit f862e72
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ update-metadata: build
doc-setup: client
@echo "Setting up documentation build environment"
python3 -m venv doc/.sphinx/venv
. $(SPHINXENV) ; pip3 install gitpython pyyaml
# Workaround for https://github.com/canonical/sphinx-docs-starter-pack/issues/197
. $(SPHINXENV) ; pip install --require-virtualenv gitpython pyyaml
. $(SPHINXENV) ; cd doc && LOCAL_SPHINX_BUILD=True python3 .sphinx/build_requirements.py
. $(SPHINXENV) ; pip install --require-virtualenv --upgrade -r doc/.sphinx/requirements.txt --log doc/.sphinx/venv/pip_install.log
@test ! -f doc/.sphinx/venv/pip_list.txt || \
Expand Down

0 comments on commit f862e72

Please sign in to comment.