aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile1
-rwxr-xr-xdocs/scripts/sphinx-make.sh6
2 files changed, 4 insertions, 3 deletions
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`