check for IPython >= 2.2

This commit is contained in:
MinRK
2014-09-17 12:09:46 -07:00
parent 97ac3ebf32
commit 3181520e56
2 changed files with 7 additions and 1 deletions

View File

@@ -18,6 +18,12 @@ from IPython.html.notebookapp import NotebookApp
from IPython.html.utils import url_path_join
from distutils.version import LooseVersion as V
import IPython
if V(IPython.__version__) < V('2.2'):
raise ImportError("JupyterHub Requires IPython >= 2.2, found %s" % IPython.__version__)
# Define two methods to attach to AuthenticatedHandler,
# which authenticate via the central auth server.

View File

@@ -1,4 +1,4 @@
ipython[notebook]
ipython[notebook]>=2.2
tornado>=3.2
jinja2
simplepam