[Checkins] SVN: zc.buildout/trunk/src/zc/buildout/buildout.py Now, when loading extensions, we search find links and the index.

Jim Fulton jim at zope.com
Mon Jun 18 20:30:49 EDT 2007


Log message for revision 76777:
  Now, when loading extensions, we search find links and the index.
  

Changed:
  U   zc.buildout/trunk/src/zc/buildout/buildout.py

-=-
Modified: zc.buildout/trunk/src/zc/buildout/buildout.py
===================================================================
--- zc.buildout/trunk/src/zc/buildout/buildout.py	2007-06-19 00:30:39 UTC (rev 76776)
+++ zc.buildout/trunk/src/zc/buildout/buildout.py	2007-06-19 00:30:48 UTC (rev 76777)
@@ -706,7 +706,14 @@
             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)
 



More information about the Checkins mailing list