]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
script: build-doc use python2 only for virtualenv
authorAbhishek Lekshmanan <abhishek@suse.com>
Mon, 10 Apr 2017 17:15:25 +0000 (19:15 +0200)
committerAbhishek Lekshmanan <abhishek@suse.com>
Mon, 10 Apr 2017 17:15:25 +0000 (19:15 +0200)
This is because the sphinx-ditaa package and ceph's rbd/rgw/rados pybind
require python2

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
admin/build-doc

index fb5eaebf94bd5cfc89257988c107273093decde6..5be6f66e878c21c7de3f1ebdb85466295b65b19d 100755 (executable)
@@ -57,7 +57,7 @@ cd build-doc
 [ -z "$vdir" ] && vdir="$TOPDIR/build-doc/virtualenv"
 
 if [ ! -e $vdir ]; then
-    virtualenv --system-site-packages $vdir
+    virtualenv --system-site-packages $vdir -p python2
 fi
 $vdir/bin/pip install --quiet -r $TOPDIR/admin/doc-requirements.txt