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

[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
ignore-existing = true
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 = eb07520fc189dcac2d3bd2db1368b1ba

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

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

[instance-jupyter]
recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/instance.cfg.in
rendered = ${buildout:directory}/template.cfg
mode = 0644
md5sum = 26a28b74c8b18c92108c751b87abe80c
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 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 = 4.0.0
matplotlib = 1.4.3

# Required by:
# ipython==4.0.0
mistune = 0.7.1

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 for erp5_kernel
ipykernel = 4.2.1

# 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

# Required by:
# ipython==4.0.0
notebook = 4.0.6
simplegeneric = 0.8.1

# Required by:
# nbformat==4.0.1
# notebook==4.0.6
# traitlets==4.1.0b1
ipython-genutils = 0.1.0

# Required by:
# ipykernel==4.2.1
# notebook==4.0.6
jupyter-client = 4.1.1

# Required by:
# nbformat==4.0.1
# notebook==4.0.6
# jupyter-client==4.1.1
# nbconvert==4.1.0
jupyter-core = 4.0.6

# Required by:
# notebook==4.0.6
nbconvert = 4.1.0

# Required by:
# notebook==4.0.6
# nbconvert==4.1.0
nbformat = 4.0.1

# Required by:
# pickleshare==0.5
path.py = 8.1.2

# Required by:
# ipython==4.0.0
pexpect = 4.0.1

# Required by:
# ipython==4.0.0
pickleshare = 0.5

# Required by:
# ipython==4.0.0
# notebook==4.0.6
traitlets = 4.1.0b1
