diff options
author | Boris Ranto <branto@redhat.com> | 2018-03-05 22:46:37 +0100 |
---|---|---|
committer | Boris Ranto <branto@redhat.com> | 2018-03-05 22:46:39 +0100 |
commit | 93cd09810338a6c51c8ac9b80ad7840f8341abc0 (patch) | |
tree | 1a6fa45ffeb75d3523dae14de13486ad38a719e6 /admin/build-doc | |
parent | Merge pull request #20717 from b-ranto/wip-restful-doc (diff) | |
download | ceph-93cd09810338a6c51c8ac9b80ad7840f8341abc0.tar.xz ceph-93cd09810338a6c51c8ac9b80ad7840f8341abc0.zip |
build-doc: Upgrade ceph python libraries
If you have python ceph bindings installed on your system, the doc-build
script will fail since pip detects them and fails to install the updated
bindings in the virtualenv. This fixes the issue by adding --upgrade
flag to pip so that it overrides the system-installed libraries.
Signed-off-by: Boris Ranto <branto@redhat.com>
Diffstat (limited to 'admin/build-doc')
-rwxr-xr-x | admin/build-doc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/build-doc b/admin/build-doc index b68f62955ab..283f8aa7524 100755 --- a/admin/build-doc +++ b/admin/build-doc @@ -86,7 +86,7 @@ for bind in rados rbd cephfs rgw; do CFLAGS="-iquote$TOPDIR/src/include" \ CPPFLAGS="-iquote$TOPDIR/src/include" \ LDFLAGS="-L$vdir/lib -Wl,--no-as-needed" \ - $vdir/bin/pip install $TOPDIR/src/pybind/${bind} + $vdir/bin/pip install --upgrade $TOPDIR/src/pybind/${bind} # rgwfile_version(), librgw_create(), rgw_mount() # since py3.5, distutils adds postfix in between ${bind} and so lib_fn=$vdir/lib/python*/*-packages/${bind}.*.so |