Commit b837fcb8 authored by Łukasz Nowak's avatar Łukasz Nowak

jupyter: Add JUPYTER_CONFIG_DIR

IPYTHONDIR was usable for old versions of ipython, but since project was
renamed to Jupyter the environment variable is JUPYTER_CONFIG_DIR.

Ref:
http://jupyter.readthedocs.io/en/latest/projects/jupyter-directories.html#envvar-JUPYTER_CONFIG_DIR
parent 6a8ad086
...@@ -74,7 +74,9 @@ command-line = ...@@ -74,7 +74,9 @@ command-line =
wrapper-path = ${directory:service}/ipython_notebook wrapper-path = ${directory:service}/ipython_notebook
parameters-extra = true parameters-extra = true
# Explicitly define IPython Directory to be used while starting ipython notebook # Explicitly define IPython Directory to be used while starting ipython notebook
environment = IPYTHONDIR=${directory:ipython_dir} environment =
IPYTHONDIR=${directory:ipython_dir}
JUPYTER_CONFIG_DIR=${directory:ipython_dir}
[ipython-notebook-config] [ipython-notebook-config]
<= dynamic-jinja2-template-base <= dynamic-jinja2-template-base
......
...@@ -64,7 +64,7 @@ recipe = slapos.recipe.template:jinja2 ...@@ -64,7 +64,7 @@ recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/instance.cfg.in template = ${:_profile_base_location_}/instance.cfg.in
rendered = ${buildout:directory}/template.cfg rendered = ${buildout:directory}/template.cfg
mode = 0644 mode = 0644
md5sum = b564e553811db272be681c331b270bbe md5sum = 43cfed9b2dde36265ed48211b42a70dd
context = context =
key bin_directory buildout:bin-directory key bin_directory buildout:bin-directory
key develop_eggs_directory buildout:develop-eggs-directory key develop_eggs_directory buildout:develop-eggs-directory
......
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