[geany/geany] 9a8093: Use the same Python interpreter for the genapi.py script as for the Waf script

Enrico Tröger git-noreply at xxxxx
Fri May 4 21:13:36 UTC 2012


Branch:      refs/heads/master
Author:      Enrico Tröger <enrico.troeger at uvena.de>
Committer:   Enrico Tröger <enrico.troeger at uvena.de>
Date:        Fri, 04 May 2012 21:13:36
Commit:      9a80935835c3b49c0f29876e9d8efa0d309d49be
             https://github.com/geany/geany/commit/9a80935835c3b49c0f29876e9d8efa0d309d49be

Log Message:
-----------
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.


Modified Paths:
--------------
    wscript

Modified: wscript
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -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:


@@ Diff output truncated at 100000 characters. @@


--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).



More information about the Commits mailing list