Show More
@@ -24,6 +24,7 b' import sys' | |||
|
24 | 24 | # Setup everything |
|
25 | 25 | #----------------------------------------------------------------------------- |
|
26 | 26 | |
|
27 | # Don't forget to also update setup.py when this changes! | |
|
27 | 28 | if sys.version[0:3] < '2.6': |
|
28 | 29 | raise ImportError('Python Version 2.6 or above is required for IPython.') |
|
29 | 30 |
@@ -21,14 +21,14 b' import sys' | |||
|
21 | 21 | |
|
22 | 22 | # This check is also made in IPython/__init__, don't forget to update both when |
|
23 | 23 | # changing Python version requirements. |
|
24 |
if sys.version[0:3] < '2. |
|
|
24 | if sys.version[0:3] < '2.6': | |
|
25 | 25 | error = """\ |
|
26 |
ERROR: 'IPython requires Python Version 2. |
|
|
26 | ERROR: 'IPython requires Python Version 2.6 or above.' | |
|
27 | 27 | Exiting.""" |
|
28 | 28 | print >> sys.stderr, error |
|
29 | 29 | sys.exit(1) |
|
30 | 30 | |
|
31 |
# At least we're on |
|
|
31 | # At least we're on the python version we need, move on. | |
|
32 | 32 | |
|
33 | 33 | #------------------------------------------------------------------------------- |
|
34 | 34 | # Imports |
General Comments 0
You need to be logged in to leave comments.
Login now