Commit ff0931a9 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 3b83b95b
...@@ -3,6 +3,9 @@ ...@@ -3,6 +3,9 @@
[buildout] [buildout]
extends = extends =
../pygolang/buildout.cfg ../pygolang/buildout.cfg
../ZODB/buildout.cfg
../zodbtools/buildout.cfg
../numpy/buildout.cfg
../golang/buildout.cfg ../golang/buildout.cfg
../zlib/buildout.cfg ../zlib/buildout.cfg
../git/buildout.cfg ../git/buildout.cfg
...@@ -29,6 +32,13 @@ setup-eggs = ...@@ -29,6 +32,13 @@ setup-eggs =
${pygolang:egg}[pyx.build] ${pygolang:egg}[pyx.build]
environment = wendelin.core-env environment = wendelin.core-env
# dependent eggs that must come through in-tree recipes
depends =
${ZODB:egg}
${zodbtools:egg}
${numpy:egg}
[wendelin.core-env] [wendelin.core-env]
# wendelin.core needs git(dev) and go to build # wendelin.core needs git(dev) and go to build
PATH = ${git:location}/bin:%(PATH)s PATH = ${git:location}/bin:%(PATH)s
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
# not need these here). # not need these here).
[neotest-env.sh] [neotest-env.sh]
filename = neotest-env.sh.in filename = neotest-env.sh.in
md5sum = bd46e95f1cea62c3b0082fe8c0c9c90b md5sum = dd41bd736561b7d59b5ec7e0ab7cde98
[neotest] [neotest]
filename = neotest.in filename = neotest.in
......
...@@ -9,24 +9,7 @@ PATH="${ioping:location}/bin:$PATH" ...@@ -9,24 +9,7 @@ PATH="${ioping:location}/bin:$PATH"
PATH="${lmbench:location}/bin:$PATH" PATH="${lmbench:location}/bin:$PATH"
PATH="${mariadb:location}/bin:$PATH" PATH="${mariadb:location}/bin:$PATH"
PATH="${mariadb:location}/scripts:$PATH" PATH="${mariadb:location}/scripts:$PATH"
PATH="${python:location}/bin:$PATH" PATH="${buildout:bin-directory}/:$PATH" # for python with eggs
# add all eggs and develop-eggs to py path
#
# XXX better leverage something like zc.recipe.egg to generate eggs path buildout way
# XXX see e.g. https://lab.nexedi.com/nexedi/slapos/merge_requests/242#note_49644 for why
# TODO(kirr) try doing so
PYTHONPATH=${buildout:develop-eggs-directory}:$PYTHONPATH # for .egg-link to be found by setuptools
for egglink in ${buildout:develop-eggs-directory}/*.egg-link; do
PYTHONPATH=`cat $egglink |head -1`:$PYTHONPATH
done
for egg in ${buildout:develop-eggs-directory}/*.egg ${buildout:eggs-directory}/*.egg; do
export PYTHONPATH=$egg:$PYTHONPATH
done
export PATH export PATH
export PYTHONPATH
export PS1="(neotest-`basename ${buildout:directory}`) $PS1" export PS1="(neotest-`basename ${buildout:directory}`) $PS1"
...@@ -36,12 +36,12 @@ parts = ...@@ -36,12 +36,12 @@ parts =
neoppod-develop neoppod-develop
neoppod neoppod
wendelin.core-dev wendelin.core-dev
eggs
scripts scripts
# for ZEO scripts (runzeo) # for ZEO scripts (runzeo)
ZEO/scripts ZEO/scripts
neotest-python
neotest-env.sh neotest-env.sh
neotest neotest
...@@ -104,17 +104,12 @@ template = inline: ...@@ -104,17 +104,12 @@ template = inline:
# eggs: # bin/python is preinstalled with sys.path to wendelin.core & friends.
[eggs] [neotest-python]
recipe = zc.recipe.egg:eggs <= python-interpreter
eggs = eggs +=
# wendelin.core still requires ZODB3 but having ZODB4 or 5 installed satisfies latest ZODB3 ${wendelin.core-dev:egg}
# ZODB3 ${neoppod:eggs}
${ZODB:egg}
# also for wc
${numpy:egg}
# for e.g. tcpu.py
${pygolang:egg}
# for instance # for instance
plone.recipe.command plone.recipe.command
...@@ -122,17 +117,14 @@ eggs = ...@@ -122,17 +117,14 @@ eggs =
recipe = zc.recipe.egg:scripts recipe = zc.recipe.egg:scripts
eggs = eggs =
# to install not only wendelin.core modules but also scripts # to install not only wendelin.core modules but also scripts
wendelin.core ${wendelin.core-dev:egg}
# wendelin.core: latest not yet released # wendelin.core: latest not yet released
[wendelin.core-repository] [wendelin.core-repository]
revision= v0.11-15-gf785ac079b revision= v0.11-15-gf785ac079b
# ping eggs versions # pin eggs versions
# XXX -> component/ZODB
[versions] [versions]
ZODB3 = 3.11.0 ZODB3 = 3.11.0
# Required by:
# neoppod==1.8.1
python-dateutil = 2.7.1
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