Commit a5a54719 authored by Jim Fulton's avatar Jim Fulton

Use lower-level egglinker api, since the buildout no longer provides

this api.
parent d37c0a94
......@@ -19,6 +19,7 @@ $Id$
# XXX need tests
import os, sys
import zc.buildout.egglinker
class TestRunner:
......@@ -30,7 +31,8 @@ class TestRunner:
def install(self):
distributions = self.options['distributions'].split()
path = self.buildout.distributions_path(distributions+['zope.testing'])
locations = [self.buildout.distribution_location(distribution)
locations = [zc.buildout.egglinker.location(distribution,
[self.buildout.eggs])
for distribution in distributions]
script = self.options.get('script', self.name)
script = self.buildout.buildout_path('bin', script)
......
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