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

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

[jupyter]
extra-eggs =
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

[jupyter-set-password]
<= download-file-base

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

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

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

[instance-jupyter-notebook]
recipe = slapos.recipe.template:jinja2
url = ${:_profile_base_location_}/${:filename}
output = ${buildout:directory}/template.cfg
context =
  key bin_directory buildout:bin-directory
  key develop_eggs_directory buildout:develop-eggs-directory
  key eggs_directory buildout:eggs-directory
  key openssl_output openssl-output:openssl
  key python_executable jupyter:python_executable
  key jupyter_config_location jupyter-notebook-config:location
  key jupyter_config_filename jupyter-notebook-config:filename
  key jupyter_set_password_location jupyter-set-password:location
  key jupyter_set_password_filename jupyter-set-password:filename
  key erp5_kernel_location erp5-kernel:location
  key erp5_kernel_filename erp5-kernel:filename
  key kernel_json_location kernel-json:location
  key kernel_json_filename kernel-json:filename
  key custom_js_location custom-js:location
  key custom_js_filename custom-js:filename
  key monitor_template_rendered buildout:directory

[versions]
Pygments = 2.2.0
astor = 0.5
backports-abc = 0.5
backports.shutil-get-terminal-size = 1.0.0
ipykernel = 4.5.2
ipython = 5.3.0
ipython-genutils = 0.1.0
ipywidgets = 6.0.0
jupyter-client = 5.0.0
jupyter-core = 4.3.0
jupyterlab = 0.26.3
jupyterlab-launcher = 0.3.1
matplotlib = 2.1.2
mistune = 0.7.3
nbformat = 4.3.0
notebook = 4.4.1
prompt-toolkit = 1.0.13
ptyprocess = 0.5.1
pyzmq = 16.0.2
scikit-learn = 0.18.1
seaborn = 0.7.1
simplegeneric = 0.8.1
statsmodels = 0.8.0
terminado = 0.6
tornado = 4.4.2
widgetsnbextension = 2.0.0

# nbconvert 4.2.0 depends on entrypoints egg that is not available as tar/zip source.
nbconvert = 4.1.0
pathlib2 = 2.2.1
patsy = 0.4.1
pexpect = 4.2.1
pickleshare = 0.7.4
scandir = 1.5
singledispatch = 3.4.0.3
wcwidth = 0.1.7
jupyter = 1.0.0
jupyter-console = 5.1.0
qtconsole = 4.3.0
et-xmlfile = 1.0.1
h5py = 2.7.1
mpmath = 1.0.0
openpyxl = 2.5.2
sympy = 1.1.1
xlrd = 1.1.0
jdcal = 1.4
