aboutsummaryrefslogtreecommitdiff
path: root/bindings/python-cffi
diff options
context:
space:
mode:
authorRalph Seichter <github@seichter.de>2020-10-28 15:44:35 +0100
committerDavid Bremner <david@tethera.net>2020-10-30 16:14:24 -0300
commit981d5a01689937ba45f3cd9dbdcdc65e6d264286 (patch)
tree0473295a82bb3b0eaa2e5c0c9ef086a14f0a1b76 /bindings/python-cffi
parent582e919e2769bd99064b997b05e1601ffcfe9a98 (diff)
Rename version to version.txt
Building Notmuch on macOS is known to cause problems because the Notmuch distribution archive contains two files named "version". These names clash with the <version> header as defined in C++20. Therefore, the existing naming will likely become a problem on other platforms as well, once compilers adopt the new standard. Signed-off-by: Ralph Seichter <github@seichter.de> Amended-by: db s/keyword/header/ in commit message.
Diffstat (limited to 'bindings/python-cffi')
-rw-r--r--bindings/python-cffi/setup.py2
-rw-r--r--bindings/python-cffi/version.txt (renamed from bindings/python-cffi/version)0
2 files changed, 1 insertions, 1 deletions
diff --git a/bindings/python-cffi/setup.py b/bindings/python-cffi/setup.py
index b0060835..cda52338 100644
--- a/bindings/python-cffi/setup.py
+++ b/bindings/python-cffi/setup.py
@@ -1,6 +1,6 @@
import setuptools
-with open('version') as fp:
+with open('version.txt') as fp:
VERSION = fp.read().strip()
setuptools.setup(
diff --git a/bindings/python-cffi/version b/bindings/python-cffi/version.txt
index 48b9990e..48b9990e 100644
--- a/bindings/python-cffi/version
+++ b/bindings/python-cffi/version.txt