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:
MinRK 2011-09-23 15:03:16 -07:00
parent 5dd7dce0b2
commit 50f9bd9ceb

View File

@ -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