]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
admin: move python-common deps out of doc-requirements.txt
authorKefu Chai <kchai@redhat.com>
Mon, 6 Jul 2020 11:11:39 +0000 (19:11 +0800)
committerNathan Cutler <ncutler@suse.com>
Tue, 27 Oct 2020 09:44:33 +0000 (10:44 +0100)
to address the build failure of

python -m pip install --exists-action=w --no-cache-dir -r admin/doc-requirements.txt
ERROR: ../src/python-common is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with svn+, git+, hg+, or bzr+).

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit b83be6f33bada618f9969d1b548b82e05a9ee5b4)

admin/build-doc
admin/doc-python-common-requirements.txt [new file with mode: 0644]

index 289a2a68871143c710ad31cb7a22444cf3344a7a..aa990ac7111a29e7c97fc0da0c9b48c802fec887 100755 (executable)
@@ -59,7 +59,7 @@ cd build-doc
 if [ ! -e $vdir ]; then
     virtualenv --python=python3 $vdir
 fi
-$vdir/bin/pip install --quiet -r $TOPDIR/admin/doc-requirements.txt
+$vdir/bin/pip install --quiet -r $TOPDIR/admin/doc-requirements.txt -r $TOPDIR/admin/doc-python-common-requirements.txt
 
 install -d -m0755 \
     $TOPDIR/build-doc/output/html \
diff --git a/admin/doc-python-common-requirements.txt b/admin/doc-python-common-requirements.txt
new file mode 100644 (file)
index 0000000..8cd8ec7
--- /dev/null
@@ -0,0 +1,3 @@
+pcpp
+Jinja2
+-e../src/python-common