Skip to content

Commit

Permalink
pybind: Add BUILD_DOC env var to rbd/setup.py
Browse files Browse the repository at this point in the history
Bypass sanity check if building docs.
Issue: http://tracker.ceph.com/issues/16940

Signed-off-by: Anirudha Bose <ani07nov@gmail.com>
  • Loading branch information
onyb committed Aug 10, 2016
1 parent 8082b2d commit cb6ad52
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/pybind/rbd/setup.py
Expand Up @@ -121,7 +121,11 @@ def check_sanity():
shutil.rmtree(tmp_dir)


if not check_sanity():
if 'BUILD_DOC' in os.environ.keys():
pass
elif check_sanity():
pass
else:
sys.exit(1)

cmdclass = {}
Expand Down

0 comments on commit cb6ad52

Please sign in to comment.