Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Iliya Manolov
slapos
Commits
c52de05c
Commit
c52de05c
authored
Aug 01, 2017
by
Iliya Manolov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a JupyterLab process to the Jupyter software release.
parent
65c794dd
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
5 deletions
+21
-5
component/jupyter/buildout.cfg
component/jupyter/buildout.cfg
+6
-0
software/jupyter/buildout.hash.cfg
software/jupyter/buildout.hash.cfg
+1
-1
software/jupyter/instance.cfg.in
software/jupyter/instance.cfg.in
+12
-4
software/jupyter/software.cfg
software/jupyter/software.cfg
+2
-0
No files found.
component/jupyter/buildout.cfg
View file @
c52de05c
...
@@ -39,6 +39,9 @@ eggs =
...
@@ -39,6 +39,9 @@ eggs =
${seaborn:egg}
${seaborn:egg}
${statsmodels:egg}
${statsmodels:egg}
patsy
patsy
# additional eggs for jupyterlab
jupyterlab
jupyterlab-launcher
interpreter = pythonjupyter
interpreter = pythonjupyter
...
@@ -69,6 +72,9 @@ scripts =
...
@@ -69,6 +72,9 @@ scripts =
jupyter-nbextension
jupyter-nbextension
jupyter-notebook
jupyter-notebook
jupyter-serverextension
jupyter-serverextension
jupyter-lab
jupyter-labextension
jupyter-labhub
initialization =
initialization =
# https://github.com/ipython/ipython/issues/5420
# https://github.com/ipython/ipython/issues/5420
...
...
software/jupyter/buildout.hash.cfg
View file @
c52de05c
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
[instance-jupyter-notebook]
[instance-jupyter-notebook]
filename = instance.cfg.in
filename = instance.cfg.in
md5sum =
a2116d236542e139aa446a6b88db3d28
md5sum =
fe5f82427cad1a24c2396c1684b8c411
[jupyter-notebook-config]
[jupyter-notebook-config]
filename = jupyter_notebook_config.py.jinja
filename = jupyter_notebook_config.py.jinja
...
...
software/jupyter/instance.cfg.in
View file @
c52de05c
[buildout]
[buildout]
parts =
parts =
instance
instance
instance-lab
jupyter_notebook
jupyter_notebook
read-knowledge0
read-knowledge0
publish-connection-parameter
publish-connection-parameter
...
@@ -58,11 +59,13 @@ key_file = ${directory:etc}/jupyter_cert.key
...
@@ -58,11 +59,13 @@ key_file = ${directory:etc}/jupyter_cert.key
[instance]
[instance]
recipe = slapos.cookbook:wrapper
recipe = slapos.cookbook:wrapper
jupyter-executable = {{ bin_directory }}/jupyter-notebook
port = ${instance-parameter:port}
command-line =
command-line =
{{ bin_directory }}/jupyter-notebook
${:jupyter-executable}
--no-browser
--no-browser
--ip=${instance-parameter:host}
--ip=${instance-parameter:host}
--port=${
instance-parameter
:port}
--port=${:port}
--port-retries=0
--port-retries=0
--certfile=${instance-parameter:cert_file}
--certfile=${instance-parameter:cert_file}
--keyfile=${instance-parameter:key_file}
--keyfile=${instance-parameter:key_file}
...
@@ -76,6 +79,12 @@ environment =
...
@@ -76,6 +79,12 @@ environment =
JUPYTER_RUNTIME_DIR=${directory:jupyter_runtime_dir}
JUPYTER_RUNTIME_DIR=${directory:jupyter_runtime_dir}
LANG=C.UTF-8
LANG=C.UTF-8
[instance-lab]
<= instance
jupyter-executable = {{ bin_directory }}/jupyter-lab
wrapper-path = ${directory:service}/jupyter-lab
port = 8889
[jupyter-notebook-config]
[jupyter-notebook-config]
<= dynamic-jinja2-template-base
<= dynamic-jinja2-template-base
template = {{ jupyter_config_location }}/{{ jupyter_config_filename }}
template = {{ jupyter_config_location }}/{{ jupyter_config_filename }}
...
@@ -153,4 +162,3 @@ context =
...
@@ -153,4 +162,3 @@ context =
template = {{ custom_js_location }}/{{ custom_js_filename }}
template = {{ custom_js_location }}/{{ custom_js_filename }}
rendered = ${directory:jupyter_custom_dir}/custom.js
rendered = ${directory:jupyter_custom_dir}/custom.js
mode = 0744
mode = 0744
software/jupyter/software.cfg
View file @
c52de05c
...
@@ -71,6 +71,8 @@ ipython-genutils = 0.1.0
...
@@ -71,6 +71,8 @@ ipython-genutils = 0.1.0
ipywidgets = 6.0.0
ipywidgets = 6.0.0
jupyter-client = 5.0.0
jupyter-client = 5.0.0
jupyter-core = 4.3.0
jupyter-core = 4.3.0
jupyterlab = 0.26.3
jupyterlab-launcher = 0.3.1
matplotlib = 2.0.0
matplotlib = 2.0.0
mistune = 0.7.3
mistune = 0.7.3
nbformat = 4.3.0
nbformat = 4.3.0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment