]> git.notmuchmail.org Git - notmuch/blob - bindings/python/setup.py
python: update the long description in setup.py
[notmuch] / bindings / python / setup.py
1 #!/usr/bin/env python
2
3 import os
4 from distutils.core import setup
5
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'
12
13 setup(name='notmuch',
14       version=__VERSION__,
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',
20       packages=['notmuch'],
21       keywords = ["library", "email"],
22       long_description="""Overview
23 ========
24
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
29 various criteria.
30
31 The documentation for the latest notmuch release can be `viewed
32 online <http://notmuch.readthedocs.org/>`_.
33
34 Requirements
35 ------------
36
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.
40 """,
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'
48                    ],
49       platforms='',
50       license='http://www.gnu.org/licenses/gpl-3.0.txt',
51      )