We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b982fe commit 45e3931Copy full SHA for 45e3931
configure
@@ -13,10 +13,10 @@ del _
13
14
import sys
15
from distutils.spawn import find_executable as which
16
-if sys.version_info[0] != 2 or sys.version_info[1] not in (6, 7):
17
- sys.stderr.write('Please use either Python 2.6 or 2.7')
+if sys.version_info[:2] != (2, 7):
+ sys.stderr.write('Please use either Python 2.7')
18
19
- python2 = which('python2') or which('python2.6') or which('python2.7')
+ python2 = which('python2') or which('python2.7')
20
21
if python2:
22
sys.stderr.write(':\n\n')
0 commit comments