aboutsummaryrefslogtreecommitdiff
path: root/bindings/python-cffi/setup.py
diff options
context:
space:
mode:
authorDavid Bremner <bremner@debian.org>2023-12-01 07:51:09 -0400
committerDavid Bremner <bremner@debian.org>2023-12-01 07:51:09 -0400
commit126347b6942dd4b0291beb67b119431ebd750a2a (patch)
tree532c5163cb0972c8b9e6c8b4577b86afb9c6a6a2 /bindings/python-cffi/setup.py
Import notmuch_0.38.2.orig.tar.xz
[dgit import orig notmuch_0.38.2.orig.tar.xz]
Diffstat (limited to 'bindings/python-cffi/setup.py')
-rw-r--r--bindings/python-cffi/setup.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/bindings/python-cffi/setup.py b/bindings/python-cffi/setup.py
new file mode 100644
index 00000000..55fb2d24
--- /dev/null
+++ b/bindings/python-cffi/setup.py
@@ -0,0 +1,25 @@
+import setuptools
+from _notmuch_config import *
+
+with open(NOTMUCH_VERSION_FILE) as fp:
+ VERSION = fp.read().strip()
+
+setuptools.setup(
+ name='notmuch2',
+ version=VERSION,
+ description='Pythonic bindings for the notmuch mail database using CFFI',
+ author='Floris Bruynooghe',
+ author_email='flub@devork.be',
+ setup_requires=['cffi>=1.0.0'],
+ install_requires=['cffi>=1.0.0'],
+ packages=setuptools.find_packages(exclude=['tests']),
+ cffi_modules=['notmuch2/_build.py:ffibuilder'],
+ classifiers=[
+ 'Development Status :: 3 - Alpha',
+ 'Intended Audience :: Developers',
+ 'License :: OSI Approved :: GNU General Public License (GPL)',
+ 'Programming Language :: Python :: 3',
+ 'Topic :: Communications :: Email',
+ 'Topic :: Software Development :: Libraries',
+ ],
+)