mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-30 12:11:32 +08:00
Fix invalid version check in setup.py.
This commit is contained in:
parent
8921529206
commit
da1557f1c0
6
setup.py
6
setup.py
@ -21,14 +21,14 @@ import sys
|
||||
|
||||
# This check is also made in IPython/__init__, don't forget to update both when
|
||||
# changing Python version requirements.
|
||||
if sys.version[0:3] < '2.5':
|
||||
if sys.version[0:3] < '2.6':
|
||||
error = """\
|
||||
ERROR: 'IPython requires Python Version 2.5 or above.'
|
||||
ERROR: 'IPython requires Python Version 2.6 or above.'
|
||||
Exiting."""
|
||||
print >> sys.stderr, error
|
||||
sys.exit(1)
|
||||
|
||||
# At least we're on Python 2.5 or newer, move on.
|
||||
# At least we're on the python version we need, move on.
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Imports
|
||||
|
Loading…
Reference in New Issue
Block a user