From 9a80935835c3b49c0f29876e9d8efa0d309d49be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrico=20Tr=C3=B6ger?= Date: Fri, 4 May 2012 23:13:36 +0200 Subject: [PATCH] Use the same Python interpreter for the genapi.py script as for the Waf script This ensures we call the genapi.py script with the same Python interpreter as the Waf build system was called. This is relevant if the used interpreter is not 'python' but e.g. python2 or python2.6 or whatever. --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index 2db16277..84448c11 100644 --- a/wscript +++ b/wscript @@ -319,7 +319,7 @@ def build(bld): name = 'geanyfunctions.h', before = ['c', 'cxx'], cwd = '%s/plugins' % bld.path.abspath(), - rule = 'python genapi.py -q') + rule = '%s genapi.py -q' % sys.executable) # Plugins if bld.env['HAVE_PLUGINS'] == 1: