aboutsummaryrefslogtreecommitdiffhomepage
path: root/bindings
diff options
context:
space:
mode:
authorGravatar Justus Winter <4winter@informatik.uni-hamburg.de>2012-02-10 18:53:04 +0100
committerGravatar Justus Winter <4winter@informatik.uni-hamburg.de>2012-02-10 18:55:33 +0100
commitae376c774ee8d8f45bae002261c425e1bc0a243a (patch)
treed825c1e9c655ddfb3de8c5105073507db3e7438f /bindings
parent8c5be7d12dc5e48faf4008209327d34c04961616 (diff)
python: mock out the ctypes library
This allows rtfd.org to build the documentation without libnotmuch. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
Diffstat (limited to 'bindings')
-rw-r--r--bindings/python/docs/source/conf.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bindings/python/docs/source/conf.py b/bindings/python/docs/source/conf.py
index c7b95185..76610b7d 100644
--- a/bindings/python/docs/source/conf.py
+++ b/bindings/python/docs/source/conf.py
@@ -30,6 +30,7 @@ class Mock(object):
return Mock() if name not in ('__file__', '__path__') else '/dev/null'
MOCK_MODULES = [
+ 'ctypes',
]
for mod_name in MOCK_MODULES:
sys.modules[mod_name] = Mock()