Skip to content

Commit

Permalink
Prefer Python 3 executables over python 2 during install
Browse files Browse the repository at this point in the history
  • Loading branch information
orf authored and abn committed Mar 28, 2021
1 parent 30190c7 commit 34d66ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get-poetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ def extract_lib(self, filename):

def _which_python(self):
"""Decides which python executable we'll embed in the launcher script."""
allowed_executables = ["python", "python3"]
allowed_executables = ["python3", "python"]
if WINDOWS:
allowed_executables += ["py.exe -3", "py.exe -2"]

Expand Down

0 comments on commit 34d66ba

Please sign in to comment.