Don't use site-packages, since the host might have the same version, and
it won't have the ditaa and breathe.
Require Cython to make the venv sufficient.
Signed-off-by: Sage Weil <sage@redhat.com>
-#!/bin/sh
+#!/bin/sh -e
cd "$(dirname "$0")"
cd ..
[ -z "$vdir" ] && vdir="$TOPDIR/build-doc/virtualenv"
if [ ! -e $vdir ]; then
- virtualenv --python=python3 --system-site-packages $vdir
+ virtualenv --python=python3 $vdir
fi
$vdir/bin/pip install --quiet -r $TOPDIR/admin/doc-requirements.txt
# Copy JavaDocs to target directory
cp -a $JAVADIR/doc/* $JAVA_OUTDIR/
+
+echo "SUCCESS"
git+https://github.com/ceph/sphinx-ditaa.git@py3#egg=sphinx-ditaa
breathe == 4.13.1
pyyaml >= 5.1.2
+Cython