From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Fri, 10 Feb 2012 17:53:04 +0000 (+0100) Subject: python: mock out the ctypes library X-Git-Tag: debian/0.12_rc1-1~102 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=ae376c774ee8d8f45bae002261c425e1bc0a243a 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> --- 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()