Skip to content

Commit

Permalink
Regenerate installers
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Apr 18, 2018
1 parent 749db7f commit fcc419d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 3.3/get-pip.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
PY2 = sys.version_info[0] == 2
PY3 = sys.version_info[0] == 3



if PY3:
iterbytes = iter
else:
Expand Down
12 changes: 12 additions & 0 deletions get-pip.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,18 @@
PY2 = sys.version_info[0] == 2
PY3 = sys.version_info[0] == 3


PY_VERSION = sys.version_info[:2]

if PY_VERSION in [(2, 6), (3, 3), (3, 4)]:
raise RuntimeError("""This script does not support Python {0}.{1}.

Please install the legacy version:

$ curl https://bootstrap.pypa.io/{0}.{1}/get-pip.py | python{0}.{1}
""".format(PY_VERSION[0], PY_VERSION[1]))


if PY3:
iterbytes = iter
else:
Expand Down

0 comments on commit fcc419d

Please sign in to comment.