X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=bindings%2Fpython-cffi%2Fsetup.py;fp=bindings%2Fpython-cffi%2Fsetup.py;h=b00608358f45e160e468f7f168d7f694f941f1d6;hp=1effcfc6feec93a7528d95819bc445f66c42a9b6;hb=3a42abb456893b71b530f099a1467400f2b0ea71;hpb=f981f5bae0e33219b7e0e9f2d5e03d54d0d88cce 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,