Commit c52de05c authored by Iliya Manolov's avatar Iliya Manolov

Added a JupyterLab process to the Jupyter software release.

parent 65c794dd
......@@ -39,6 +39,9 @@ eggs =
${seaborn:egg}
${statsmodels:egg}
patsy
# additional eggs for jupyterlab
jupyterlab
jupyterlab-launcher
interpreter = pythonjupyter
......@@ -69,6 +72,9 @@ scripts =
jupyter-nbextension
jupyter-notebook
jupyter-serverextension
jupyter-lab
jupyter-labextension
jupyter-labhub
initialization =
# https://github.com/ipython/ipython/issues/5420
......
......@@ -16,7 +16,7 @@
[instance-jupyter-notebook]
filename = instance.cfg.in
md5sum = a2116d236542e139aa446a6b88db3d28
md5sum = fe5f82427cad1a24c2396c1684b8c411
[jupyter-notebook-config]
filename = jupyter_notebook_config.py.jinja
......
[buildout]
parts =
instance
instance-lab
jupyter_notebook
read-knowledge0
publish-connection-parameter
......@@ -58,11 +59,13 @@ key_file = ${directory:etc}/jupyter_cert.key
[instance]
recipe = slapos.cookbook:wrapper
jupyter-executable = {{ bin_directory }}/jupyter-notebook
port = ${instance-parameter:port}
command-line =
{{ bin_directory }}/jupyter-notebook
${:jupyter-executable}
--no-browser
--ip=${instance-parameter:host}
--port=${instance-parameter:port}
--port=${:port}
--port-retries=0
--certfile=${instance-parameter:cert_file}
--keyfile=${instance-parameter:key_file}
......@@ -76,6 +79,12 @@ environment =
JUPYTER_RUNTIME_DIR=${directory:jupyter_runtime_dir}
LANG=C.UTF-8
[instance-lab]
<= instance
jupyter-executable = {{ bin_directory }}/jupyter-lab
wrapper-path = ${directory:service}/jupyter-lab
port = 8889
[jupyter-notebook-config]
<= dynamic-jinja2-template-base
template = {{ jupyter_config_location }}/{{ jupyter_config_filename }}
......@@ -107,7 +116,7 @@ erp5_kernel_dir = ${:jupyter_kernel_dir}/ERP5
# This part is called like this because knowledge0.write uses the part name for
# the section name in the config file.
recipe = slapos.cookbook:zero-knowledge.write
password =
password =
filename = knowledge0.cfg
[read-knowledge0]
......@@ -153,4 +162,3 @@ context =
template = {{ custom_js_location }}/{{ custom_js_filename }}
rendered = ${directory:jupyter_custom_dir}/custom.js
mode = 0744
......@@ -71,6 +71,8 @@ ipython-genutils = 0.1.0
ipywidgets = 6.0.0
jupyter-client = 5.0.0
jupyter-core = 4.3.0
jupyterlab = 0.26.3
jupyterlab-launcher = 0.3.1
matplotlib = 2.0.0
mistune = 0.7.3
nbformat = 4.3.0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment