From: Paul Vinciguerra Date: Thu, 14 Feb 2019 04:59:30 +0000 (-0800) Subject: docs: use python3 for make docs. X-Git-Tag: v19.04-rc1~452 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F87%2F17587%2F3;p=vpp.git docs: use python3 for make docs. Change-Id: If62b5ef563523b400fb5160d0343210407905094 Signed-off-by: Paul Vinciguerra --- diff --git a/Makefile b/Makefile index 49e464fcfc5..4810a5e0bbe 100644 --- a/Makefile +++ b/Makefile @@ -100,6 +100,7 @@ else RPM_DEPENDS += yum-utils RPM_DEPENDS += openssl-devel RPM_DEPENDS += python-devel python34-ply + RPM_DEPENDS += python34-devel python34-pip RPM_DEPENDS += python-virtualenv RPM_DEPENDS += devtoolset-7 RPM_DEPENDS += cmake3 diff --git a/docs/scripts/sphinx-make.sh b/docs/scripts/sphinx-make.sh index 5a2e026e638..3dca88cd426 100755 --- a/docs/scripts/sphinx-make.sh +++ b/docs/scripts/sphinx-make.sh @@ -2,10 +2,10 @@ if [ "$1" == "venv" ] then - python -m pip install --user virtualenv - python -m virtualenv $VENV_DIR + python3 -m pip install --user virtualenv + python3 -m virtualenv $VENV_DIR source $VENV_DIR/bin/activate; - pip install -r $DOCS_DIR/etc/requirements.txt + python3 -m pip install -r $DOCS_DIR/etc/requirements.txt else source $VENV_DIR/bin/activate; VERSION=`source $WS_ROOT/src/scripts/version`