Show More
@@ -357,7 +357,7 b' def check_for_dependencies():' | |||||
357 | check_for_sphinx, check_for_pygments, |
|
357 | check_for_sphinx, check_for_pygments, | |
358 | check_for_nose, check_for_pexpect, |
|
358 | check_for_nose, check_for_pexpect, | |
359 | check_for_pyzmq, check_for_readline, |
|
359 | check_for_pyzmq, check_for_readline, | |
360 | check_for_jinja2 |
|
360 | check_for_jinja2, check_for_tornado | |
361 | ) |
|
361 | ) | |
362 | print_line() |
|
362 | print_line() | |
363 | print_raw("BUILDING IPYTHON") |
|
363 | print_raw("BUILDING IPYTHON") | |
@@ -374,6 +374,7 b' def check_for_dependencies():' | |||||
374 | check_for_nose() |
|
374 | check_for_nose() | |
375 | check_for_pexpect() |
|
375 | check_for_pexpect() | |
376 | check_for_pyzmq() |
|
376 | check_for_pyzmq() | |
|
377 | check_for_tornado() | |||
377 | check_for_readline() |
|
378 | check_for_readline() | |
378 | check_for_jinja2() |
|
379 | check_for_jinja2() | |
379 |
|
380 |
@@ -130,6 +130,16 b' def check_for_pyzmq():' | |||||
130 | " qtconsole, notebook, and parallel computing capabilities)" % zmq.__version__) |
|
130 | " qtconsole, notebook, and parallel computing capabilities)" % zmq.__version__) | |
131 | return False |
|
131 | return False | |
132 |
|
132 | |||
|
133 | def check_for_tornado(): | |||
|
134 | try: | |||
|
135 | import tornado | |||
|
136 | except ImportError: | |||
|
137 | print_status('tornado', "no (required for notebook)") | |||
|
138 | return False | |||
|
139 | else: | |||
|
140 | print_status('tornado', tornado.version) | |||
|
141 | return True | |||
|
142 | ||||
133 | def check_for_readline(): |
|
143 | def check_for_readline(): | |
134 | from distutils.version import LooseVersion |
|
144 | from distutils.version import LooseVersion | |
135 | try: |
|
145 | try: |
General Comments 0
You need to be logged in to leave comments.
Login now