[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
  ../../component/seaborn/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
  astor
  ${scipy:egg}
  ${pandas:egg}
  ${scikit-learn:egg}

  ${seaborn:egg}
  ${statsmodels:egg}
  patsy

[download-file-base]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/template/${:filename}
download-only = true
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 = 5e7e0acef2f32e75f8f17bc851414aa1

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

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

[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]
Pygments = 2.2.0
astor = 0.5
backports-abc = 0.5
backports.shutil-get-terminal-size = 1.0.0
cycler = 0.10.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
matplotlib = 2.0.0
mistune = 0.7.3
nbformat = 4.3.0
notebook = 4.4.1
pandas = 0.19.2
plone.recipe.command = 1.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
slapos.recipe.template = 2.10
statsmodels = 0.8.0
terminado = 0.6
tornado = 4.4.2
traitlets = 4.3.2
widgetsnbextension = 2.0.0

# Required by:
# tornado==4.4.2
certifi = 2017.1.23

# Required by:
# notebook==4.3.2
# nbconvert 4.2.0 depends on entrypoints egg that is not available as tar/zip source.
nbconvert = 4.1.0

# Required by:
# patsy==0.4.1
numpy = 1.12.0

# Required by:
# ipython==5.3.0
pathlib2 = 2.2.1

# Required by:
# statsmodels==0.8.0
patsy = 0.4.1

# Required by:
# ipython==5.3.0
pexpect = 4.2.1

# Required by:
# ipython==5.3.0
pickleshare = 0.7.4

# Required by:
# matplotlib==2.0.0
# pandas==0.19.2
python-dateutil = 2.6.0

# Required by:
# pathlib2==2.2.1
scandir = 1.5

# Required by:
# statsmodels==0.8.0
scipy = 0.19.0

# Required by:
# tornado==4.4.2
singledispatch = 3.4.0.3

# Required by:
# matplotlib==2.0.0
subprocess32 = 3.2.7

# Required by:
# prompt-toolkit==1.0.13
wcwidth = 0.1.7
