X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=bindings%2Fpython-cffi%2Fsetup.py;h=b00608358f45e160e468f7f168d7f694f941f1d6;hb=d127b16afe2e5c0f245400bc74d96208372075a2;hp=1effcfc6feec93a7528d95819bc445f66c42a9b6;hpb=81057164cddf6a5c1d4c30a23767c4de8e615c1c;p=notmuch diff --git a/bindings/python-cffi/setup.py b/bindings/python-cffi/setup.py index 1effcfc6..b0060835 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') as fp: VERSION = fp.read().strip() - setuptools.setup( name='notmuch2', version=VERSION,