X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=bindings%2Fpython-cffi%2Fsetup.py;h=55fb2d24f832b49e2730db879309b441a58a0a78;hp=37918e3d2cdb3b7bcf0a3e3db860bfab5bd1b0db;hb=HEAD;hpb=e2df30f7a98f91543d0b3561dbb366eb4b3d812c diff --git a/bindings/python-cffi/setup.py b/bindings/python-cffi/setup.py index 37918e3d..55fb2d24 100644 --- a/bindings/python-cffi/setup.py +++ b/bindings/python-cffi/setup.py @@ -1,9 +1,12 @@ import setuptools +from _notmuch_config import * +with open(NOTMUCH_VERSION_FILE) as fp: + VERSION = fp.read().strip() setuptools.setup( name='notmuch2', - version='0.1', + version=VERSION, description='Pythonic bindings for the notmuch mail database using CFFI', author='Floris Bruynooghe', author_email='flub@devork.be',