Skip to content

Commit

Permalink
Installer script: first type python3 (fixes python-poetry#3184)
Browse files Browse the repository at this point in the history
  • Loading branch information
brechtm committed Oct 26, 2020
1 parent 5daeb89 commit 592d254
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions get-poetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
from contextlib import contextmanager
from functools import cmp_to_key
from gzip import GzipFile
from io import UnsupportedOperation
from io import Unsu/pportedOperation
from io import open


Expand Down 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 592d254

Please sign in to comment.