[Pkg-gnupg-commit] [gpgme] 335/412: python: Avoid hardcoding the interpreter.
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Thu Sep 22 21:27:14 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch master
in repository gpgme.
commit 70999d81618b3d3ae6b61a43be2ce703ad284275
Author: Justus Winter <justus at g10code.com>
Date: Mon Sep 12 16:19:07 2016 +0200
python: Avoid hardcoding the interpreter.
* lang/python/setup.py.in: Avoid hardcoding the interpreter.
Signed-off-by: Justus Winter <justus at g10code.com>
---
lang/python/setup.py.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lang/python/setup.py.in b/lang/python/setup.py.in
index 4477e09..22035cb 100755
--- a/lang/python/setup.py.in
+++ b/lang/python/setup.py.in
@@ -88,9 +88,9 @@ if not os.path.exists(gpg_error_h):
print("Building pyme3 using {} and {}.".format(gpgme_h, gpg_error_h))
# Cleanup gpgme.h from deprecated functions and typedefs.
-subprocess.check_call(["python3", "gpgme-h-clean.py", gpgme_h],
+subprocess.check_call([sys.executable, "gpgme-h-clean.py", gpgme_h],
stdout=open("gpgme.h", "w"))
-subprocess.check_call(["python3", "gpgme-h-clean.py", gpg_error_h],
+subprocess.check_call([sys.executable, "gpgme-h-clean.py", gpg_error_h],
stdout=open("errors.i", "w"))
include_dirs = [os.getcwd()]
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git
More information about the Pkg-gnupg-commit
mailing list