##// END OF EJS Templates
update tornado dependency to 2.1...
MinRK -
Show More
@@ -0,0 +1,12 b''
1 """The IPython HTML Notebook"""
2
3 # check for tornado 2.1.0
4 msg = "The IPython Notebook requires tornado >= 2.1.0"
5 try:
6 import tornado
7 except ImportError:
8 raise ImportError(msg)
9 else:
10 if tornado.version_info < (2,1,0):
11 raise ImportError(msg+", but you have %s"%tornado.version)
12 del msg
@@ -111,7 +111,15 b" if os.name == 'nt':"
111 else:
111 else:
112 have['zmq'] = test_for('zmq', '2.1.4')
112 have['zmq'] = test_for('zmq', '2.1.4')
113 have['qt'] = test_for('IPython.external.qt')
113 have['qt'] = test_for('IPython.external.qt')
114 have['tornado'] = test_for('tornado')
114
115 try:
116 import tornado
117 if tornado.version_info < (2,1,0):
118 raise ImportError
119 except ImportError:
120 have['tornado'] = False
121 else:
122 have['tornado'] = True
115
123
116 #-----------------------------------------------------------------------------
124 #-----------------------------------------------------------------------------
117 # Functions and classes
125 # Functions and classes
@@ -336,6 +336,7 b' pygments'
336 The syntax-highlighting in ``ipython qtconsole`` is done with the pygments_
336 The syntax-highlighting in ``ipython qtconsole`` is done with the pygments_
337 project, which is easy_install-able.
337 project, which is easy_install-able.
338
338
339 .. _installnotebook:
339
340
340 Dependencies for the IPython HTML notebook
341 Dependencies for the IPython HTML notebook
341 ==========================================
342 ==========================================
@@ -352,12 +353,9 b' the HTML notebook requires ZeroMQ and PyZMQ.'
352 Tornado
353 Tornado
353 -------
354 -------
354
355
355 The IPython notebook uses the Tornado_ project for its HTTP server. As of this
356 The IPython notebook uses the Tornado_ project for its HTTP server. Tornado 2.1
356 writing, we require a development version from github, as version 2.0 is *not
357 is required, in order to support current versions of browsers, due to an update
357 sufficient*. You can either clone their git repository yourself and install it
358 to the websocket protocol.
358 manually, or install directly from github with::
359
360 easy_install https://github.com/facebook/tornado/tarball/master
361
359
362
360
363 MathJax
361 MathJax
@@ -4,6 +4,10 b''
4 An HTML Notebook IPython
4 An HTML Notebook IPython
5 =========================
5 =========================
6
6
7 .. seealso::
8
9 :ref:`Installation requirements <installnotebook>` for the Notebook.
10
7 The IPython Notebook consists of two related components:
11 The IPython Notebook consists of two related components:
8
12
9 * An JSON based Notebook document format for recording and distributing
13 * An JSON based Notebook document format for recording and distributing
General Comments 0
You need to be logged in to leave comments. Login now