mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
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:
@@ -82,8 +82,15 @@ with open('/etc/sudoers.d/jupyterhub-admins', 'w') as f:
|
|||||||
|
|
||||||
conda.ensure_conda_env(USER_ENV_PREFIX)
|
conda.ensure_conda_env(USER_ENV_PREFIX)
|
||||||
conda.ensure_conda_packages(USER_ENV_PREFIX, [
|
conda.ensure_conda_packages(USER_ENV_PREFIX, [
|
||||||
'jupyterhub==0.9.0',
|
# Conda's latest version is on conda much more so than on PyPI.
|
||||||
'notebook==5.5.0',
|
|
||||||
'jupyterlab==0.32.1',
|
|
||||||
'conda==4.5.4'
|
'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'
|
||||||
|
])
|
||||||
|
|||||||
Reference in New Issue
Block a user