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