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.
MinRK 15 years ago
parent 5dd7dce0b2
commit 50f9bd9ceb

@ -111,7 +111,15 @@ if os.name == 'nt':
else:
have['zmq'] = test_for('zmq', '2.1.4')
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

Loading…
Cancel
Save