[Checkins] SVN: zc.buildout/branches/env-cache/zc.recipe.egg_/src/zc/recipe/egg/custom.py Clear cached dists when removing eggs from develop-eggs.

Ross Patterson me at rpatterson.net
Sun Jan 29 05:24:17 UTC 2012


Log message for revision 124238:
  Clear cached dists when removing eggs from develop-eggs.
  
  If a custom part is changed, it will be uninstalled and installed
  which means removing the previously built eggs from develop-eggs.
  Thus we need to clear the dist caches.

Changed:
  U   zc.buildout/branches/env-cache/zc.recipe.egg_/src/zc/recipe/egg/custom.py

-=-
Modified: zc.buildout/branches/env-cache/zc.recipe.egg_/src/zc/recipe/egg/custom.py
===================================================================
--- zc.buildout/branches/env-cache/zc.recipe.egg_/src/zc/recipe/egg/custom.py	2012-01-29 05:24:03 UTC (rev 124237)
+++ zc.buildout/branches/env-cache/zc.recipe.egg_/src/zc/recipe/egg/custom.py	2012-01-29 05:24:17 UTC (rev 124238)
@@ -89,6 +89,7 @@
         distribution = options.get('egg', options.get('eggs', self.name)
                                    ).strip()
         self._set_environment()
+        zc.buildout.easy_install.clear_dists(options['_d'])
         try:
             return zc.buildout.easy_install.build(
                 distribution, options['_d'], self.build_ext,



More information about the checkins mailing list