From 68a296c169a6eae47e23b448fb46f6716e535f6d Mon Sep 17 00:00:00 2001 From: Jim Fulton <jim@zope.com> Date: Tue, 19 Jun 2007 00:30:48 +0000 Subject: [PATCH] Now, when loading extensions, we search find links and the index. --- src/zc/buildout/buildout.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/zc/buildout/buildout.py b/src/zc/buildout/buildout.py index 8a6ffa5..48fc826 100644 --- a/src/zc/buildout/buildout.py +++ b/src/zc/buildout/buildout.py @@ -706,7 +706,14 @@ class Buildout(UserDict.DictMixin): zc.buildout.easy_install.install( specs, dest, path=path, working_set=pkg_resources.working_set, + links = self['buildout'].get('find-links', '').split(), + index = self['buildout'].get('index'), 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'): ep.load()(self) -- 2.30.9