[buildout]
extends =
  buildout.hash.cfg
  ../../stack/slapos.cfg
  ../../component/cythonplus/buildout.cfg
  ../../component/openssl/buildout.cfg
  ../../component/jupyter/buildout.cfg
  ../../stack/monitor/buildout.cfg
parts +=
  slapos-cookbook
  jupyter
  jupyter-notebook-initialized-scripts
  instance


[gcc]
# Always build GCC for Fortran (see openblas).
max_version = 0

[jupyter]
python_executable = ${buildout:bin-directory}/${:interpreter}

[download-file-base]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/${:filename}

[jupyter-notebook-config]
<= download-file-base

[erp5-kernel]
<= download-file-base

[kernel-json]
<= download-file-base

[custom-js]
<= download-file-base

[instance]
recipe = slapos.recipe.template
url =  ${:_profile_base_location_}/${:filename}
output = ${buildout:directory}/template.cfg

[instance-jupyter]
<= download-file-base
