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 <justus@g10code.com>
This commit is contained in:
parent
10f2e1c30b
commit
f1f341062e
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user