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