Commit cee110b2 authored by Ayush Tiwari's avatar Ayush Tiwari Committed by Kirill Smelkov

IPython Notebook: Fixing coding crimes for section names

Use spinal-case('-' separated) instead of snake_case('_' separated) in section names.

/reviewed-by @kirr  (on nexedi/slapos!33)
parent 392f3ead
...@@ -15,7 +15,7 @@ egg = ipython ...@@ -15,7 +15,7 @@ egg = ipython
environment = ipython-env environment = ipython-env
setup-eggs = ${numpy:egg} setup-eggs = ${numpy:egg}
[ipython_notebook] [ipython-notebook]
recipe = zc.recipe.egg:scripts recipe = zc.recipe.egg:scripts
eggs = ipython[notebook] eggs = ipython[notebook]
${matplotlib:egg} ${matplotlib:egg}
......
...@@ -74,13 +74,13 @@ command-line = ...@@ -74,13 +74,13 @@ command-line =
--keyfile=$${instance-parameter:key_file} --keyfile=$${instance-parameter:key_file}
--notebook-dir=$${instance-parameter:notebook_dir} --notebook-dir=$${instance-parameter:notebook_dir}
--logfile=$${instance-parameter:logfile} --logfile=$${instance-parameter:logfile}
--config=$${ipython_notebook_config:rendered} --config=$${ipython-notebook-config:rendered}
wrapper-path = $${directory:service}/ipython_notebook wrapper-path = $${directory:service}/ipython_notebook
parameters-extra = true parameters-extra = true
[ipython_notebook_config] [ipython-notebook-config]
recipe = slapos.recipe.template:jinja2 recipe = slapos.recipe.template:jinja2
template = ${ipython_notebook_config:location}/${ipython_notebook_config:filename} template = ${ipython-notebook-config:location}/${ipython-notebook-config:filename}
rendered = $${directory:etc}/ipython_notebook_config.py rendered = $${directory:etc}/ipython_notebook_config.py
mode = 0744 mode = 0744
context = context =
...@@ -92,7 +92,7 @@ source = $${instance-parameter:logfile} ...@@ -92,7 +92,7 @@ source = $${instance-parameter:logfile}
[monitor-deploy-set-password-cgi] [monitor-deploy-set-password-cgi]
recipe = slapos.recipe.template:jinja2 recipe = slapos.recipe.template:jinja2
template = ${ipython_notebook_set_password:location}/${ipython_notebook_set_password:filename} template = ${ipython-notebook-set-password:location}/${ipython-notebook-set-password:filename}
rendered = $${monitor-directory:knowledge0-cgi}/$${:filename} rendered = $${monitor-directory:knowledge0-cgi}/$${:filename}
filename = ipython-notebook-password.cgi filename = ipython-notebook-password.cgi
mode = 0744 mode = 0744
......
...@@ -11,11 +11,11 @@ extends = ...@@ -11,11 +11,11 @@ extends =
parts = parts =
monitor-eggs monitor-eggs
slapos-cookbook slapos-cookbook
ipython_notebook ipython-notebook
ipython_notebook_set_password ipython-notebook-set-password
instance instance
[ipython_notebook] [ipython-notebook]
; In the ipython notebook software, we use more eggs than in the minimal ; In the ipython notebook software, we use more eggs than in the minimal
; ipython notebook component ; ipython notebook component
eggs += eggs +=
...@@ -23,7 +23,7 @@ eggs += ...@@ -23,7 +23,7 @@ eggs +=
${pandas:egg} ${pandas:egg}
${scikit-learn:egg} ${scikit-learn:egg}
[ipython_notebook_config] [ipython-notebook-config]
recipe = hexagonit.recipe.download recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/template/${:filename} url = ${:_profile_base_location_}/template/${:filename}
download-only = true download-only = true
...@@ -32,7 +32,7 @@ destination = ${buildout:parts-directory}/${:_buildout_section_name_} ...@@ -32,7 +32,7 @@ destination = ${buildout:parts-directory}/${:_buildout_section_name_}
filename = ipython_notebook_config.jinja filename = ipython_notebook_config.jinja
mode = 0644 mode = 0644
[ipython_notebook_set_password] [ipython-notebook-set-password]
recipe = hexagonit.recipe.download recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/template/${:filename} url = ${:_profile_base_location_}/template/${:filename}
download-only = true download-only = true
......
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