4 from distutils.core import setup
6 # get the notmuch version number without importing the notmuch module
7 version_file = os.path.join(os.path.dirname(__file__),
8 'notmuch', 'version.py')
9 exec(compile(open(version_file).read(), version_file, 'exec'))
10 assert '__VERSION__' in globals(), \
11 'Failed to read the notmuch binding version number'
15 description='Python binding of the notmuch mail search and indexing library.',
16 author='Sebastian Spaeth',
17 author_email='Sebastian@SSpaeth.de',
18 url='http://notmuchmail.org/',
19 download_url='http://notmuchmail.org/releases/notmuch-'+__VERSION__+'.tar.gz',
21 keywords = ["library", "email"],
22 long_description="""Overview
25 The notmuch module provides an interface to the `notmuch
26 <http://notmuchmail.org>`_ functionality, directly interfacing with a
27 shared notmuch library. Notmuch provides a maildatabase that allows
28 for extremely quick searching and filtering of your email according to
31 The documentation for the latest notmuch release can be `viewed
32 online <http://notmuch.readthedocs.org/>`_.
37 You need to have notmuch installed (or rather libnotmuch.so.1). Also,
38 notmuch makes use of the ctypes library, and has only been tested with
39 python >= 2.5. It will not work on earlier python versions.
41 classifiers=['Development Status :: 3 - Alpha',
42 'Intended Audience :: Developers',
43 'License :: OSI Approved :: GNU General Public License (GPL)',
44 'Programming Language :: Python :: 2',
45 'Programming Language :: Python :: 3',
46 'Topic :: Communications :: Email',
47 'Topic :: Software Development :: Libraries'
50 license='http://www.gnu.org/licenses/gpl-3.0.txt',