Commit 2adcddd1 authored by Ayush Tiwari's avatar Ayush Tiwari

Added IPYTHONDIR environment variable in the wrapper

parent 7ea7616b
...@@ -82,6 +82,7 @@ command-line = ...@@ -82,6 +82,7 @@ command-line =
--log-level="DEBUG" --log-level="DEBUG"
wrapper-path = $${directory:service}/ipython_notebook wrapper-path = $${directory:service}/ipython_notebook
parameters-extra = true parameters-extra = true
environment = IPYTHONDIR=$${directory:ipython_dir}
[ipython_notebook_config] [ipython_notebook_config]
recipe = slapos.recipe.template:jinja2 recipe = slapos.recipe.template:jinja2
...@@ -134,7 +135,7 @@ template = ${erp5-kernel:location}/${erp5-kernel:filename} ...@@ -134,7 +135,7 @@ template = ${erp5-kernel:location}/${erp5-kernel:filename}
rendered = $${directory:erp5_kernel_dir}/ERP5kernel.py rendered = $${directory:erp5_kernel_dir}/ERP5kernel.py
mode = 0744 mode = 0744
context = context =
raw python_executable ${buildout:bin-directory}/ipython raw python_executable ${buildout:bin-directory}/pythonwitheggs
[kernel-json] [kernel-json]
recipe = slapos.recipe.template:jinja2 recipe = slapos.recipe.template:jinja2
...@@ -142,7 +143,7 @@ template = ${kernel-json:location}/${kernel-json:filename} ...@@ -142,7 +143,7 @@ template = ${kernel-json:location}/${kernel-json:filename}
rendered = $${directory:erp5_kernel_dir}/kernel.json 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}/pythonwitheggs
key kernel_dir erp5-kernel:rendered key kernel_dir erp5-kernel:rendered
raw display_name ERP5 raw display_name ERP5
raw language_name python raw language_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