Allow the docs to build by faking libcloud's __version__ attribute.

This commit is contained in:
Pedro Algarvio 2014-09-17 20:03:48 +01:00
parent 1be9c6aa64
commit 75bafbd6db

View File

@ -111,6 +111,9 @@ MOCK_MODULES = [
for mod_name in MOCK_MODULES:
sys.modules[mod_name] = Mock()
# Define a fake version attribute for libcloud so docs build as supposed
sys.modules['libcloud'].__version__ = '0.0.0'
# -- Add paths to PYTHONPATH ---------------------------------------------------
try: