aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2022-12-14 06:12:41 +0000
committerNIIBE Yutaka <[email protected]>2022-12-14 06:12:41 +0000
commit2ba11f9bfb1f51a481eb1240b8cf2c8ad260c222 (patch)
treebd28e25c167b366f98f0a689ce7877db5688c71c
parentcpp: Handle status errors in the base edit interactor (diff)
downloadgpgme-2ba11f9bfb1f51a481eb1240b8cf2c8ad260c222.tar.gz
gpgme-2ba11f9bfb1f51a481eb1240b8cf2c8ad260c222.zip
doc:python: Replace gpgme-config to pkg-config.
-- Signed-off-by: NIIBE Yutaka <[email protected]>
-rw-r--r--lang/python/doc/src/gpgme-python-howto.org4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/python/doc/src/gpgme-python-howto.org b/lang/python/doc/src/gpgme-python-howto.org
index 046b2e07..2121fe65 100644
--- a/lang/python/doc/src/gpgme-python-howto.org
+++ b/lang/python/doc/src/gpgme-python-howto.org
@@ -3124,7 +3124,7 @@ minimum required version of GPGME is in use.
For the most part the =gpg.version.versionstr= and
=gpg.version.versionlist= methods have been quite sufficient. The
-former returns the same string as =gpgme-config --version=, while the
+former returns the same string as =pkg-config gpgme --modversion=, while the
latter returns the major, minor and patch values in a list.
To check if the installed bindings have actually been built against
@@ -3135,7 +3135,7 @@ import gpg
import subprocess
import sys
-gpgme_version_call = subprocess.Popen(["gpgme-config", "--version"],
+gpgme_version_call = subprocess.Popen(["pkg-config", "gpgme", "--modversion"],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
gpgme_version_str = gpgme_version_call.communicate()