]> git.notmuchmail.org Git - notmuch/blob - bindings/python-cffi/setup.py
python-cffi: fix out-of-tree build
[notmuch] / bindings / python-cffi / setup.py
1 import setuptools
2 from _notmuch_config import *
3
4 with open(NOTMUCH_VERSION_FILE) as fp:
5     VERSION = fp.read().strip()
6
7 setuptools.setup(
8     name='notmuch2',
9     version=VERSION,
10     description='Pythonic bindings for the notmuch mail database using CFFI',
11     author='Floris Bruynooghe',
12     author_email='flub@devork.be',
13     setup_requires=['cffi>=1.0.0'],
14     install_requires=['cffi>=1.0.0'],
15     packages=setuptools.find_packages(exclude=['tests']),
16     cffi_modules=['notmuch2/_build.py:ffibuilder'],
17     classifiers=[
18         'Development Status :: 3 - Alpha',
19         'Intended Audience :: Developers',
20         'License :: OSI Approved :: GNU General Public License (GPL)',
21         'Programming Language :: Python :: 3',
22         'Topic :: Communications :: Email',
23         'Topic :: Software Development :: Libraries',
24     ],
25 )