From ae376c774ee8d8f45bae002261c425e1bc0a243a Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Fri, 10 Feb 2012 18:53:04 +0100 Subject: [PATCH] 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> --- bindings/python/docs/source/conf.py | 1 + 1 file changed, 1 insertion(+) 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()