# SlapOS software release to test pygolang on Nexedi testing infrastructure.

[buildout]
extends =
    ../../stack/nxdtest.cfg
    ../pytest/buildout.cfg
    ../numpy/buildout.cfg
    buildout-dev.cfg

parts =
    pygolang
    gpython
    pygolang-python

#   for instance
    slapos-cookbook
    instance.cfg


# tune pygolang to install with all and for-tests extras.
[pygolang]
egg = pygolang[all_test]

# bin/python is preinstalled with sys.path to pygolang & friends.
[pygolang-python]
<= python-interpreter
eggs = ${pygolang:egg}

# env.sh for pygolang's python/gpython to be on $PATH.
[pygolang-env.sh]
recipe   = slapos.recipe.template:jinja2
rendered = ${buildout:directory}/${:_buildout_section_name_}
template = inline:
  export PS1="(pygolang-env) $PS1"
  export PATH=${buildout:bin-directory}:$PATH

# instance to run nxdtest.
[instance.cfg]
<= jinja2-template
template = inline:
  [buildout]
  extends = ${nxdtest-instance.cfg:rendered}

  [runTestSuite]
  env.sh  = ${pygolang-env.sh:rendered}
  workdir = ${pygolang-repository:location}


[versions]
ipython = 5.10.0
ipython-genutils = 0.2.0

simplegeneric = 0.8.1
Pygments = 2.5.2
prompt-toolkit = 1.0.18
pickleshare = 0.7.5
pexpect = 4.8.0
backports.shutil-get-terminal-size = 1.0.0
ptyprocess = 0.6.0
