##// END OF EJS Templates
Do not use version # in codemirror directory name....
Do not use version # in codemirror directory name. Simply call it 'codemirror', so we don't have explicit version numbers inside a bunch of files. A file called ipython-version-N.NN will be kept to easily let us know which version we're shipping with IPython.

File last commit:

r4856:d3ee41f9
r4934:265d40c7
Show More
__init__.py
12 lines | 305 B | text/x-python | PythonLexer
"""The IPython HTML Notebook"""
# check for tornado 2.1.0
msg = "The IPython Notebook requires tornado >= 2.1.0"
try:
import tornado
except ImportError:
raise ImportError(msg)
else:
if tornado.version_info < (2,1,0):
raise ImportError(msg+", but you have %s"%tornado.version)
del msg