Commit 004e7efa authored by jim's avatar jim

Now, when loading extensions, we search find links and the index.


git-svn-id: http://svn.zope.org/repos/main/zc.buildout/trunk@76777 62d5b8a3-27da-0310-9561-8e5933582275
parent 40645859
...@@ -706,7 +706,14 @@ class Buildout(UserDict.DictMixin): ...@@ -706,7 +706,14 @@ class Buildout(UserDict.DictMixin):
zc.buildout.easy_install.install( zc.buildout.easy_install.install(
specs, dest, path=path, specs, dest, path=path,
working_set=pkg_resources.working_set, working_set=pkg_resources.working_set,
links = self['buildout'].get('find-links', '').split(),
index = self['buildout'].get('index'),
newest=self.newest) newest=self.newest)
# Clear cache because extensions might now let us read pages we
# couldn't read before.
zc.buildout.easy_install.clear_index_cache()
for ep in pkg_resources.iter_entry_points('zc.buildout.extension'): for ep in pkg_resources.iter_entry_points('zc.buildout.extension'):
ep.load()(self) ep.load()(self)
......
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