test.cfg 1.24 KB
Newer Older
1 2 3 4 5 6
# SlapOS software release to test pygolang on Nexedi testing infrastructure.

[buildout]
extends =
    ../../stack/nxdtest.cfg
    ../pytest/buildout.cfg
7
    ../numpy/buildout.cfg
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
    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