[buildout]
versions = versions
extends = 
  ../../stack/slapos.cfg
  ../../stack/monitor/buildout.cfg
  ../../component/ipython/buildout.cfg
  ../../component/scipy/buildout.cfg
  ../../component/scikit-learn/buildout.cfg
  ../../component/pandas/buildout.cfg
  ../../component/openssl/buildout.cfg
parts =
  monitor-eggs
  slapos-cookbook
  ipython-notebook
  instance

[ipython-notebook]
; In the ipython notebook software, we use more eggs than in the minimal
; ipython notebook component
eggs +=
  requests
  ${scipy:egg}
  ${pandas:egg}
  ${scikit-learn:egg}

[download-file-base]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/template/${:filename}
download-only = true
destination = ${buildout:parts-directory}/${:_buildout_section_name_}
mode = 0644

[ipython-notebook-config]
<= download-file-base
filename = ipython_notebook_config.py.jinja
md5sum = a5bc4ee8539109d1de7ab33b4c2c97ea

[ipython-notebook-set-password]
<= download-file-base
filename = ipython_set_password.cgi.jinja
md5sum = d7d4a7e19d55bf14007819258bf42100

[erp5-kernel]
<= download-file-base
filename = ERP5kernel.py.jinja
md5sum = a6a0ad790d100167c42c354fe5744e11

[kernel-json]
<= download-file-base
filename = kernel.json.jinja
md5sum = ab6e78ea20855e07d388b5b86d1770fe

[custom-js]
<= download-file-base
filename = custom.js.jinja
md5sum = 0e8262d04a6dafbc1b77d95aea2192bc

[instance]
recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/instance.cfg.in
rendered = ${buildout:directory}/template.cfg
mode = 0644
md5sum = e757d22b4c257f7a3f782a1c587732ea
context =
  key bin_directory buildout:bin-directory
  key develop_eggs_directory buildout:develop-eggs-directory
  key eggs_directory buildout:eggs-directory
  key monitor_template monitor-template:output
  key openssl_output openssl-output:openssl
  key python_executable python2.7:executable
  key ipython_notebook_config_location ipython-notebook-config:location
  key ipython_notebook_config_filename ipython-notebook-config:filename
  key ipython_notebook_set_password_location ipython-notebook-set-password:location
  key ipython_notebook_set_password_filename ipython-notebook-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

[versions]
PyRSS2Gen = 1.1
Pygments = 2.0.2
cns.recipe.symlink = 0.2.3
ipython = 3.2.0
matplotlib = 1.4.3
mistune = 0.6
nose = 1.3.7
numpy = 1.9.2
pandas = 0.16.2
plone.recipe.command = 1.1
pyzmq = 14.7.0
scikit-learn = 0.16.1
scipy = 0.15.1
slapos.recipe.template = 2.8
terminado = 0.5
tornado = 4.2
requests = 2.7.0

# Required by:
# tornado==4.2
backports.ssl-match-hostname = 3.4.0.2

# Required by:
# tornado==4.2
certifi = 2015.4.28

# Required by:
# mock==1.1.3
funcsigs = 0.4

# Required by:
# matplotlib==1.4.3
mock = 1.1.3

# Required by:
# terminado==0.5
ptyprocess = 0.5

# Required by:
# matplotlib==1.4.3
# pandas==0.16.2
python-dateutil = 2.4.2