Commit c2fc217d authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 863618be
......@@ -3,22 +3,34 @@
[buildout]
extends =
../ZODB/buildout.cfg
../git/buildout.cfg
parts = ZEO/scripts
# ZEO allows to use either ZEO4 or ZEO5
# To select which version to use users should do:
#
# [ZEO]
# egg = ${ZEO<version>:egg}
#
# By default ZEO4 is used.
# ZEO provides either ZEO<X> depending on ZODB major version.
[ZEO]
recipe = zc.recipe.egg:eggs
egg = ${ZEO4:egg}
eggs = ${:egg}
recipe = slapos.recipe.build
depends = ${ZODB:egg}
init =
# link/depend to ZEO<ZODB.major>
zodb = self.buildout['ZODB']
zeo_x = 'ZEO'+zodb['major']
options['depends'] += '$${%s:egg}' % zeo_x
zeo_x = self.buildout[zeo_x]
options['egg'] = zeo_x['egg']
#options['location'] = zeo_x['setup'] XXX needed? reenable?
# update [versions] from what is needed by ZEO<X>
for _ in zeo_x['egg_versions'].splitlines():
egg, eq, version = _.split() # 'transaction = 1.7.0'
assert eq == '='
self.buildout['versions'][egg] = version
# propagate updated [versions] -> easy_install
# (buildout does this in Buildout constructor)
import zc.buildout.easy_install
zc.buildout.easy_install.default_versions(self.buildout['versions'])
# ZEO/scripts installs scripts from ZEO
......@@ -50,3 +62,8 @@ git-executable = ${git:location}/bin/git
recipe = zc.recipe.egg:eggs
egg = ZEO
eggs = ${:egg}
egg_versions =
ZEO = 5.2.2
trollius = 2.2.post1
futures = 3.2.0
......@@ -8,16 +8,5 @@ eggs += mock
egg = ${ZEO5:egg}
[versions]
ZEO = 5.2.2
# BBB: ZEO
msgpack = 0.5.6
# Required by:
# ZEO==5.2.0
# trollius==2.2.post1
futures = 3.2.0
# Required by:
# ZEO==5.2.0
trollius = 2.2.post1
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