X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=bindings%2Fpython-cffi%2Fsetup.py;h=cda5233840bc0e0183181b8464c750ed3dd75866;hb=ca4e1d885b0d9dcdeb45ad6f2829f88dafc7949c;hp=1effcfc6feec93a7528d95819bc445f66c42a9b6;hpb=81057164cddf6a5c1d4c30a23767c4de8e615c1c;p=notmuch diff --git a/bindings/python-cffi/setup.py b/bindings/python-cffi/setup.py index 1effcfc6..cda52338 100644 --- a/bindings/python-cffi/setup.py +++ b/bindings/python-cffi/setup.py @@ -1,14 +1,8 @@ -import pathlib - import setuptools - -THIS_FILE = pathlib.Path(__file__).absolute() -PROJECT_ROOT = THIS_FILE.parent.parent.parent -with open(PROJECT_ROOT.joinpath('version')) as fp: +with open('version.txt') as fp: VERSION = fp.read().strip() - setuptools.setup( name='notmuch2', version=VERSION,