Commit a3c09f9d authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 3f12b8b8
......@@ -5,7 +5,6 @@ extends =
../../../stack/nxdtest.cfg
../buildout-dev.cfg
# XXX kill pygolang (used by python)
parts =
pygolang
gpython
......@@ -15,23 +14,24 @@ parts =
instance.cfg
# XXX correct ?
# tune pygolang to install with all and for-tests extras.
[pygolang]
egg = pygolang[all_test]
# install python with sys.path to eggs
# use gpython, instead of pygolang, since interpreter works only for regular
# zc.recipe.egg, not zc.recipe.egg:custom XXX
# the `python` interreter will just set sys.path to pygolang, not activate gevent
# bin/python is preinstalled with sys.path to pygolang & friends.
# use [gpython], instead of [pygolang], since interpreter works only for regular
# zc.recipe.egg, not zc.recipe.egg:custom used by [pygolang].
# the `python` interpreter will just set sys.path to pygolang _without_ activating gevent.
[gpython]
interpreter = python
# 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:
PATH=${buildout:bin-directory}:$PATH
# XXX python with eggs
export PS1="(pygolang-env) $PS1"
export PATH=${buildout:bin-directory}:$PATH
# XXX needed? -> move to stack/nxdtest completely?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment