X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=bindings%2Fpython-cffi%2Fsetup.py;h=55fb2d24f832b49e2730db879309b441a58a0a78;hp=7baf63cf528910be145d65791c69ae0c2fae5763;hb=HEAD;hpb=83c2d158983875bf77a9b7662894df585b61741c diff --git a/bindings/python-cffi/setup.py b/bindings/python-cffi/setup.py index 7baf63cf..55fb2d24 100644 --- a/bindings/python-cffi/setup.py +++ b/bindings/python-cffi/setup.py @@ -1,16 +1,19 @@ import setuptools +from _notmuch_config import * +with open(NOTMUCH_VERSION_FILE) as fp: + VERSION = fp.read().strip() setuptools.setup( - name='notdb', - version='0.1', + 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=['notdb/_build.py:ffibuilder'], + cffi_modules=['notmuch2/_build.py:ffibuilder'], classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers',