[Checkins] SVN: z3c.recipe.filetemplate/branches/gary-support-system-python/z3c/recipe/filetemplate/__init__.py update for changes in zc.recipe.egg

Gary Poster gary.poster at canonical.com
Tue Aug 4 22:43:29 EDT 2009


Log message for revision 102489:
  update for changes in zc.recipe.egg

Changed:
  U   z3c.recipe.filetemplate/branches/gary-support-system-python/z3c/recipe/filetemplate/__init__.py

-=-
Modified: z3c.recipe.filetemplate/branches/gary-support-system-python/z3c/recipe/filetemplate/__init__.py
===================================================================
--- z3c.recipe.filetemplate/branches/gary-support-system-python/z3c/recipe/filetemplate/__init__.py	2009-08-04 23:21:47 UTC (rev 102488)
+++ z3c.recipe.filetemplate/branches/gary-support-system-python/z3c/recipe/filetemplate/__init__.py	2009-08-05 02:43:28 UTC (rev 102489)
@@ -57,9 +57,12 @@
                 # files (for instance, including bash files).
             self.eggs = zc.recipe.egg.Scripts(buildout, name, options)
             orig_distributions, ws = self.eggs.working_set()
+            include_site_packages = options.get(
+                'include-site-packages',
+                buildout['buildout']['include-site-packages'])
             all_paths = zc.buildout.easy_install.get_path(
                 ws, self.options['executable'], self.eggs.extra_paths,
-                self.eggs.include_site_packages)
+                include_site_packages)
         else:
             all_paths = []
         paths = [path for path in all_paths if not path.endswith('.zip')]



More information about the Checkins mailing list