Skip to content

Commit

Permalink
build: remove python 2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-github committed Apr 13, 2020
1 parent 1211b9a commit b00561d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ which python3.8 >/dev/null && exec python3.8 "$0" "$@"
which python3.7 >/dev/null && exec python3.7 "$0" "$@"
which python3.6 >/dev/null && exec python3.6 "$0" "$@"
which python3.5 >/dev/null && exec python3.5 "$0" "$@"
which python2.7 >/dev/null && exec python2.7 "$0" "$@"
exec python "$0" "$@"
''' "$0" "$@"
]
Expand All @@ -19,7 +18,7 @@ import sys
from distutils.spawn import find_executable

print('Node.js configure: Found Python {0}.{1}.{2}...'.format(*sys.version_info))
acceptable_pythons = ((3, 8), (3, 7), (3, 6), (3, 5), (2, 7))
acceptable_pythons = ((3, 8), (3, 7), (3, 6), (3, 5))
if sys.version_info[:2] in acceptable_pythons:
import configure
else:
Expand Down

0 comments on commit b00561d

Please sign in to comment.