aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/setup.py.in
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2016-11-09 12:56:00 +0000
committerJustus Winter <[email protected]>2016-11-09 12:57:05 +0000
commitf1f341062e24724e26928d893dd5769d3ccf5fa2 (patch)
tree33c02275ef3273875ace1418d428725ed80bb83f /lang/python/setup.py.in
parentw32: Better protect the IO-system's fd_table (diff)
downloadgpgme-f1f341062e24724e26928d893dd5769d3ccf5fa2.tar.gz
gpgme-f1f341062e24724e26928d893dd5769d3ccf5fa2.zip
python: Require at least GPGME 1.7 for out-of-tree builds.
* lang/python/setup.py.in: Bump required version to 1.7. Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'lang/python/setup.py.in')
-rwxr-xr-xlang/python/setup.py.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/python/setup.py.in b/lang/python/setup.py.in
index 3d0b7305..9669c285 100755
--- a/lang/python/setup.py.in
+++ b/lang/python/setup.py.in
@@ -75,8 +75,8 @@ if '-' in version:
version = version.split('-')[0]
major, minor, patch = map(int, version.split('.'))
-if not (major > 1 or (major == 1 and minor >= 6)):
- sys.exit('Need at least GPGME version 1.6, found {}.'.format(version_raw))
+if not (major > 1 or (major == 1 and minor >= 7)):
+ sys.exit('Need at least GPGME version 1.7, found {}.'.format(version_raw))
if not gpgme_h:
gpgme_h = os.path.join(getconfig("prefix")[0], "include", "gpgme.h")