Commit 7ea7616b authored by Ayush Tiwari's avatar Ayush Tiwari

Changed the context type to key from raw for ERP5 kernel directory; added more...

Changed the context type to key from raw for ERP5 kernel directory; added more params for kernel json file; md5 sum changed
parent da7b2e03
...@@ -77,6 +77,8 @@ command-line = ...@@ -77,6 +77,8 @@ command-line =
--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}
## Adding log-level as parameter is only for development process
## and would be removed later.
--log-level="DEBUG" --log-level="DEBUG"
wrapper-path = $${directory:service}/ipython_notebook wrapper-path = $${directory:service}/ipython_notebook
parameters-extra = true parameters-extra = true
...@@ -141,5 +143,6 @@ rendered = $${directory:erp5_kernel_dir}/kernel.json ...@@ -141,5 +143,6 @@ rendered = $${directory:erp5_kernel_dir}/kernel.json
mode = 0744 mode = 0744
context = context =
raw python_executable ${buildout:bin-directory}/ipython raw python_executable ${buildout:bin-directory}/ipython
raw kernel_dir $${directory:erp5_kernel_dir}/ERP5kernel.py key kernel_dir erp5-kernel:rendered
raw display_name ERP5 raw display_name ERP5
raw language_name python
...@@ -64,7 +64,7 @@ mode = 0644 ...@@ -64,7 +64,7 @@ mode = 0644
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
md5sum = 0f77ab5399990ebb25f95f969cb4b7cb md5sum = ab6e78ea20855e07d388b5b86d1770fe
destination = ${buildout:parts-directory}/${:_buildout_section_name_} destination = ${buildout:parts-directory}/${:_buildout_section_name_}
filename = kernel.json.jinja filename = kernel.json.jinja
mode = 0644 mode = 0644
......
...@@ -6,6 +6,6 @@ ...@@ -6,6 +6,6 @@
"{connection_file}" "{connection_file}"
], ],
"display_name": "{{display_name}}", "display_name": "{{display_name}}",
"language": "python", "language": "{{language_name}}",
"language_info": {"name": "python"} "language_info": {"name": "python"}
} }
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