[PATCH 1/2] Revert "python-cffi: read version from notmuch version file"
David Bremner
david at tethera.net
Thu Jun 25 04:00:44 PDT 2020
This reverts commit 81057164cddf6a5c1d4c30a23767c4de8e615c1c.
That version turns out not to work with some variety of pip install.
---
bindings/python-cffi/setup.py | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/bindings/python-cffi/setup.py b/bindings/python-cffi/setup.py
index 1effcfc6..37918e3d 100644
--- a/bindings/python-cffi/setup.py
+++ b/bindings/python-cffi/setup.py
@@ -1,17 +1,9 @@
-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:
- VERSION = fp.read().strip()
-
-
setuptools.setup(
name='notmuch2',
- version=VERSION,
+ version='0.1',
description='Pythonic bindings for the notmuch mail database using CFFI',
author='Floris Bruynooghe',
author_email='flub at devork.be',
--
2.27.0
More information about the notmuch
mailing list