aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-10-05 10:24:53 -0400
committerJack Lloyd <[email protected]>2019-10-05 10:24:53 -0400
commitdc3e16583ba552751ca4b86fac34b48b66992fe3 (patch)
tree4792246f5468a471342fdebd7c6da291a860bfd1 /configure.py
parentcda9a4096c4646f3d72d5238cfa0039d9dea2484 (diff)
Use the full path to the Python interpreter
Prevents problems with python is not in the path. Fixes #2130
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.py b/configure.py
index e1ae0c78d..1fa19688a 100755
--- a/configure.py
+++ b/configure.py
@@ -2061,7 +2061,7 @@ def create_template_vars(source_paths, build_paths, options, modules, cc, arch,
'mp_bits': choose_mp_bits(),
- 'python_exe': os.path.basename(sys.executable),
+ 'python_exe': sys.executable,
'python_version': options.python_version,
'install_python_module': not options.no_install_python_module,