Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ del _

import sys
from distutils.spawn import find_executable as which
if sys.version_info[0] != 2 or sys.version_info[1] not in (6, 7):
sys.stderr.write('Please use either Python 2.6 or 2.7')
if sys.version_info[:2] != (2, 7):
sys.stderr.write('Please use Python 2.7')

python2 = which('python2') or which('python2.6') or which('python2.7')
python2 = which('python2') or which('python2.7')

if python2:
sys.stderr.write(':\n\n')
Expand Down