Commit 49b8876d authored by Sebastian's avatar Sebastian

update buildout

parent a3932e03
[buildout]
parts =
jupyter-pip
renderjs_nbextension
[jupyter-pip]
recipe = zc.recipe.egg:custom
egg = jupyter-pip
# renderjs_nbextension installed from latest git version
[renderjs_nbextension]
recipe = zc.recipe.egg:develop
egg = renderjs_nbextension
setup = ${renderjs_nbextension-submoduleinit:location}/renderjs_nbextension
setup-eggs = jupyter-pip
environment = renderjs_nbextension-env
[renderjs_nbextension-env]
PATH = ${git:location}/bin:%(PATH)s
[renderjs_nbextension-repository]
recipe = slapos.recipe.build:gitclone
repository = https://lab.nexedi.com/Kreisel/renderjs_extension.git
# dir is pretty name as top-level -dev recipe
location = ${buildout:parts-directory}/renderjs_nbextension
git-executable = /sbin/git
git-executable = ${git:location}/bin/git
# TODO add `git clone --recursive` to slapos.recipe.build:gitclone
# and this way merge this -submoduleinit into -repository part
[renderjs_nbextension-submoduleinit]
recipe = plone.recipe.command
command = cd "${renderjs_nbextension-repository:location}" && /sbin/git submodule update --init
command = cd "${renderjs_nbextension-repository:location}" && ${git:location}/bin/git submodule update --init
stop-on-error = true
# propagate location of main repo
location= ${renderjs_nbextension-repository:location}
location= ${renderjs_nbextension-repository:location}
\ No newline at end of file
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