mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-17 06:52:59 +00:00
check for IPython >= 2.2
This commit is contained in:
@@ -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.
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
ipython[notebook]
|
||||
ipython[notebook]>=2.2
|
||||
tornado>=3.2
|
||||
jinja2
|
||||
simplepam
|
||||
|
Reference in New Issue
Block a user