##// END OF EJS Templates
Merge pull request #2200 from bfroehle/use_alias_magic...
Merge pull request #2200 from bfroehle/use_alias_magic documentation build broken in bb429da5b Sphinx breaks if a class's `__doc__` attribute is a property, so just set it as an instance variable in `MagicAlias.__init__` instead.

File last commit:

r6630:ffeb4a6a
r8050:6c82a457 merge
Show More
__init__.py
20 lines | 547 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)
try:
version_info = tornado.version_info
except AttributeError:
raise ImportError(msg + ", but you have < 1.1.0")
if version_info < (2,1,0):
raise ImportError(msg + ", but you have %s" % tornado.version)
del msg
# check for pyzmq 2.1.4
from IPython.zmq import check_for_zmq
check_for_zmq('2.1.4', 'IPython.frontend.html.notebook')
del check_for_zmq