Commit 4f707855 authored by jim's avatar jim

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

this api.


git-svn-id: http://svn.zope.org/repos/main/zc.buildout/trunk@68515 62d5b8a3-27da-0310-9561-8e5933582275
parent 381d0851
...@@ -19,6 +19,7 @@ $Id$ ...@@ -19,6 +19,7 @@ $Id$
# XXX need tests # XXX need tests
import os, sys import os, sys
import zc.buildout.egglinker
class TestRunner: class TestRunner:
...@@ -30,7 +31,8 @@ class TestRunner: ...@@ -30,7 +31,8 @@ class TestRunner:
def install(self): def install(self):
distributions = self.options['distributions'].split() distributions = self.options['distributions'].split()
path = self.buildout.distributions_path(distributions+['zope.testing']) 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] for distribution in distributions]
script = self.options.get('script', self.name) script = self.options.get('script', self.name)
script = self.buildout.buildout_path('bin', script) 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