2010-03-22 10:48:03 +01:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
2012-04-29 16:30:38 +02:00
|
|
|
"""
|
|
|
|
This file is part of notmuch.
|
|
|
|
|
|
|
|
Notmuch is free software: you can redistribute it and/or modify it
|
|
|
|
under the terms of the GNU General Public License as published by the
|
|
|
|
Free Software Foundation, either version 3 of the License, or (at your
|
|
|
|
option) any later version.
|
|
|
|
|
|
|
|
Notmuch is distributed in the hope that it will be useful, but WITHOUT
|
|
|
|
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
|
|
for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with notmuch. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
Copyright 2010 Sebastian Spaeth <Sebastian@SSpaeth.de>
|
|
|
|
"""
|
|
|
|
|
2011-06-19 21:53:43 +02:00
|
|
|
import os
|
2010-03-22 10:48:03 +01:00
|
|
|
from distutils.core import setup
|
2011-08-24 08:54:58 +02:00
|
|
|
|
2011-08-24 09:13:34 +02:00
|
|
|
# get the notmuch version number without importing the notmuch module
|
2012-04-29 16:18:52 +02:00
|
|
|
version_file = os.path.join(os.path.dirname(__file__),
|
2011-08-24 09:13:34 +02:00
|
|
|
'notmuch', 'version.py')
|
2011-12-14 11:58:19 +01:00
|
|
|
exec(compile(open(version_file).read(), version_file, 'exec'))
|
2012-04-29 16:21:32 +02:00
|
|
|
assert '__VERSION__' in globals(), \
|
|
|
|
'Failed to read the notmuch binding version number'
|
2011-06-19 21:53:43 +02:00
|
|
|
|
2010-04-19 21:14:47 +02:00
|
|
|
setup(name='notmuch',
|
2011-08-24 08:54:58 +02:00
|
|
|
version=__VERSION__,
|
2010-03-22 12:32:44 +01:00
|
|
|
description='Python binding of the notmuch mail search and indexing library.',
|
2010-03-22 10:48:03 +01:00
|
|
|
author='Sebastian Spaeth',
|
|
|
|
author_email='Sebastian@SSpaeth.de',
|
2011-01-13 12:35:59 +01:00
|
|
|
url='http://notmuchmail.org/',
|
2012-04-29 16:28:50 +02:00
|
|
|
download_url='http://notmuchmail.org/releases/notmuch-%s.tar.gz' % __VERSION__,
|
2010-04-19 21:14:47 +02:00
|
|
|
packages=['notmuch'],
|
2012-04-29 16:28:50 +02:00
|
|
|
keywords=['library', 'email'],
|
|
|
|
long_description='''Overview
|
2012-04-29 16:26:36 +02:00
|
|
|
========
|
2010-04-07 11:43:29 +02:00
|
|
|
|
2012-04-29 16:26:36 +02:00
|
|
|
The notmuch module provides an interface to the `notmuch
|
|
|
|
<http://notmuchmail.org>`_ functionality, directly interfacing with a
|
|
|
|
shared notmuch library. Notmuch provides a maildatabase that allows
|
|
|
|
for extremely quick searching and filtering of your email according to
|
|
|
|
various criteria.
|
2010-03-22 10:48:03 +01:00
|
|
|
|
2012-04-29 16:26:36 +02:00
|
|
|
The documentation for the latest notmuch release can be `viewed
|
|
|
|
online <http://notmuch.readthedocs.org/>`_.
|
2010-04-07 11:43:29 +02:00
|
|
|
|
|
|
|
Requirements
|
|
|
|
------------
|
|
|
|
|
2011-08-24 09:01:36 +02:00
|
|
|
You need to have notmuch installed (or rather libnotmuch.so.1). Also,
|
|
|
|
notmuch makes use of the ctypes library, and has only been tested with
|
|
|
|
python >= 2.5. It will not work on earlier python versions.
|
2012-04-29 16:28:50 +02:00
|
|
|
''',
|
2011-08-24 09:01:36 +02:00
|
|
|
classifiers=['Development Status :: 3 - Alpha',
|
2010-03-22 10:48:03 +01:00
|
|
|
'Intended Audience :: Developers',
|
|
|
|
'License :: OSI Approved :: GNU General Public License (GPL)',
|
|
|
|
'Programming Language :: Python :: 2',
|
|
|
|
'Programming Language :: Python :: 3',
|
|
|
|
'Topic :: Communications :: Email',
|
|
|
|
'Topic :: Software Development :: Libraries'
|
|
|
|
],
|
|
|
|
platforms='',
|
|
|
|
license='http://www.gnu.org/licenses/gpl-3.0.txt',
|
|
|
|
)
|