notmuch/bindings/python
Jani Nikula 510dc8c837 python: fix documentation build with python 3.7
The simplistic mocking in conf.py falls short on python 3.7. Just use
unittest.mock instead.

Fixes:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sphinx/config.py", line 368, in eval_config_file
    execfile_(filename, namespace)
  File "/usr/lib/python3/dist-packages/sphinx/util/pycompat.py", line 150, in execfile_
    exec_(code, _globals)
  File "/path/to/notmuch/bindings/python/docs/source/conf.py", line 39, in <module>
    from notmuch import __VERSION__,__AUTHOR__
  File "/path/to/notmuch/bindings/python/notmuch/__init__.py", line 54, in <module>
    from .database import Database
  File "/path/to/notmuch/bindings/python/notmuch/database.py", line 25, in <module>
    from .globals import (
  File "/path/to/notmuch/bindings/python/notmuch/globals.py", line 48, in <module>
    class NotmuchDatabaseS(Structure):
TypeError: __mro_entries__ must return a tuple
2019-02-16 08:42:13 -04:00
..
docs python: fix documentation build with python 3.7 2019-02-16 08:42:13 -04:00
notmuch update version to 0.28.1 2019-02-01 08:06:38 -04:00
.gitignore Use rooted paths in .gitignore files 2017-08-18 19:42:35 -03:00
MANIFEST.in Move everything down into a bindings/python directory. 2010-04-21 17:29:34 -07:00
README fix typo 2017-08-18 19:47:40 -03:00
setup.py Use https instead of http where possible 2016-06-05 08:32:17 -03:00

notmuch -- The python interface to notmuch
==========================================

This module makes the functionality of the notmuch library
(`https://notmuchmail.org`_) available to python. Successful import of
this module depends on a libnotmuch.so|dll being available on the
user's system.

If you have downloaded the full source tarball, you can create the
documentation with sphinx installed, go to the docs directory and
"make html". A static version of the documentation is available at:

  https://notmuch.readthedocs.io/projects/notmuch-python/

To build the python bindings, do

  python setup.py install --prefix=path/to/your/preferred/location