aboutsummaryrefslogtreecommitdiff
path: root/bindings/python-cffi/setup.py
diff options
context:
space:
mode:
authorFloris Bruynooghe <flub@google.com>2019-10-08 23:03:12 +0200
committerDavid Bremner <david@tethera.net>2019-12-03 08:12:30 -0400
commit83c2d158983875bf77a9b7662894df585b61741c (patch)
tree8443e3ab530a9cbf00b17c395f03e19138d3bae0 /bindings/python-cffi/setup.py
parent5f9ea4d2908a597acaf0b809b6f27fa74b70520b (diff)
Introduce CFFI-based python bindings
This introduces CFFI-based Python3-only bindings. The bindings aim at: - Better performance on pypy - Easier to use Python-C interface - More "pythonic" - The API should not allow invalid operations - Use native object protocol where possible - Memory safety; whatever you do from python, it should not coredump.
Diffstat (limited to 'bindings/python-cffi/setup.py')
-rw-r--r--bindings/python-cffi/setup.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/bindings/python-cffi/setup.py b/bindings/python-cffi/setup.py
new file mode 100644
index 00000000..7baf63cf
--- /dev/null
+++ b/bindings/python-cffi/setup.py
@@ -0,0 +1,22 @@
+import setuptools
+
+
+setuptools.setup(
+ name='notdb',
+ version='0.1',
+ 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=['notdb/_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',
+ ],
+)