aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/python3.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-11-22 00:47:20 +0200
committerGitHub <noreply@github.com>2017-11-22 00:47:20 +0200
commitd882b6fbd466940d452cfaa890bd9270e10a93b4 (patch)
treed1ed9d893da50afb4ed3e6f031da91949f1d67ee /mesonbuild/modules/python3.py
parentfdb48a3a0f0425a6bd4a71a2e004479080955df8 (diff)
parentf9e88cd37e6babc1de476398f54a540f3eeca1c7 (diff)
downloadmeson-d882b6fbd466940d452cfaa890bd9270e10a93b4.zip
meson-d882b6fbd466940d452cfaa890bd9270e10a93b4.tar.gz
meson-d882b6fbd466940d452cfaa890bd9270e10a93b4.tar.bz2
Merge pull request #2498 from mesonbuild/runpython
Add possibility to run Python scripts with current interpreter
Diffstat (limited to 'mesonbuild/modules/python3.py')
-rw-r--r--mesonbuild/modules/python3.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/python3.py b/mesonbuild/modules/python3.py
index 4fae88b..989e839 100644
--- a/mesonbuild/modules/python3.py
+++ b/mesonbuild/modules/python3.py
@@ -52,7 +52,7 @@ class Python3Module(ExtensionModule):
@noKwargs
def find_python(self, state, args, kwargs):
- py3 = dependencies.ExternalProgram('python3', sys.executable, silent=True)
+ py3 = dependencies.ExternalProgram('python3', mesonlib.python_command, silent=True)
return ModuleReturnValue(py3, [py3])
@noKwargs