Commit 34d66baa by Tom Forbes Committed by Arun Babu Neelicattu

Prefer Python 3 executables over python 2 during install

parent 30190c74
...@@ -638,7 +638,7 @@ class Installer: ...@@ -638,7 +638,7 @@ class Installer:
def _which_python(self): def _which_python(self):
"""Decides which python executable we'll embed in the launcher script.""" """Decides which python executable we'll embed in the launcher script."""
allowed_executables = ["python", "python3"] allowed_executables = ["python3", "python"]
if WINDOWS: if WINDOWS:
allowed_executables += ["py.exe -3", "py.exe -2"] allowed_executables += ["py.exe -3", "py.exe -2"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment