Commit 68a296c1 authored by Jim Fulton's avatar Jim Fulton

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

parent bec9fe60
...@@ -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