Add nteract to base install too

- This gives us two alternative notebook frontends
- Also install as many things from pip as possible, to keep
  consistency in the user environment
This commit is contained in:
yuvipanda
2018-06-29 00:27:00 -07:00
parent 903bf46409
commit 82e7fa6cdc

View File

@@ -82,8 +82,15 @@ with open('/etc/sudoers.d/jupyterhub-admins', 'w') as f:
conda.ensure_conda_env(USER_ENV_PREFIX)
conda.ensure_conda_packages(USER_ENV_PREFIX, [
'jupyterhub==0.9.0',
'notebook==5.5.0',
'jupyterlab==0.32.1',
# Conda's latest version is on conda much more so than on PyPI.
'conda==4.5.4'
])
conda.ensure_pip_packages(USER_ENV_PREFIX, [
# JupyterHub + notebook package are base requirements for user environment
'jupyterhub==0.9.0',
'notebook==5.5.0',
# Install additional notebook frontends!
'jupyterlab==0.32.1',
'nteract-on-jupyter==1.8.1'
])