mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-30 12:11:32 +08:00
update tornado dependency to 2.1
The notebook server will no longer try to launch with 2.0. Test imports and install doc updated to match.
This commit is contained in:
parent
5dd7dce0b2
commit
50f9bd9ceb
@ -111,7 +111,15 @@ if os.name == 'nt':
|
|||||||
else:
|
else:
|
||||||
have['zmq'] = test_for('zmq', '2.1.4')
|
have['zmq'] = test_for('zmq', '2.1.4')
|
||||||
have['qt'] = test_for('IPython.external.qt')
|
have['qt'] = test_for('IPython.external.qt')
|
||||||
have['tornado'] = test_for('tornado')
|
|
||||||
|
try:
|
||||||
|
import tornado
|
||||||
|
if tornado.version_info < (2,1,0):
|
||||||
|
raise ImportError
|
||||||
|
except ImportError:
|
||||||
|
have['tornado'] = False
|
||||||
|
else:
|
||||||
|
have['tornado'] = True
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
# Functions and classes
|
# Functions and classes
|
||||||
|
Loading…
Reference in New Issue
Block a user