[Checkins] SVN: grokproject/trunk/ Added include_site_packages, install_requires, and additional_grants

Vincent Fretin vincent.fretin at gmail.com
Fri Dec 31 09:14:29 EST 2010


Log message for revision 119231:
  Added include_site_packages, install_requires, and additional_grants
  variables in the template for use in dolmenproject.
  

Changed:
  U   grokproject/trunk/CHANGES.txt
  U   grokproject/trunk/grokproject/template/buildout.cfg_tmpl
  U   grokproject/trunk/grokproject/template/etc/site.zcml.in_tmpl
  U   grokproject/trunk/grokproject/template/setup.py_tmpl
  U   grokproject/trunk/grokproject/templates.py

-=-
Modified: grokproject/trunk/CHANGES.txt
===================================================================
--- grokproject/trunk/CHANGES.txt	2010-12-31 00:09:31 UTC (rev 119230)
+++ grokproject/trunk/CHANGES.txt	2010-12-31 14:14:28 UTC (rev 119231)
@@ -4,9 +4,9 @@
 2.3 (unreleased)
 ----------------
 
-- Nothing changed yet.
+- Added include_site_packages, install_requires, and additional_grants
+  variables in the template for use in dolmenproject.
 
-
 2.2 (2010-11-26)
 ----------------
 

Modified: grokproject/trunk/grokproject/template/buildout.cfg_tmpl
===================================================================
--- grokproject/trunk/grokproject/template/buildout.cfg_tmpl	2010-12-31 00:09:31 UTC (rev 119230)
+++ grokproject/trunk/grokproject/template/buildout.cfg_tmpl	2010-12-31 14:14:28 UTC (rev 119231)
@@ -2,7 +2,7 @@
 extends = ${version_info_url}
 extends-cache = extends-cache
 find-links = ${find_links_url}
-include-site-packages = false
+include-site-packages = ${include_site_packages}
 develop = .
 unzip = true
 parts =

Modified: grokproject/trunk/grokproject/template/etc/site.zcml.in_tmpl
===================================================================
--- grokproject/trunk/grokproject/template/etc/site.zcml.in_tmpl	2010-12-31 00:09:31 UTC (rev 119230)
+++ grokproject/trunk/grokproject/template/etc/site.zcml.in_tmpl	2010-12-31 14:14:28 UTC (rev 119231)
@@ -23,7 +23,7 @@
       <!-- Replace the following directive if you do not want
            public access -->
       <grant permission="zope.View"
-             principal="zope.Everybody" />
+             principal="zope.Everybody" />${additional_grants|nothing}
       <role id="zope.Manager" title="Site Manager" />
       <role id="zope.Member" title="Site Member" />
       <grantAll role="zope.Manager" />

Modified: grokproject/trunk/grokproject/template/setup.py_tmpl
===================================================================
--- grokproject/trunk/grokproject/template/setup.py_tmpl	2010-12-31 00:09:31 UTC (rev 119230)
+++ grokproject/trunk/grokproject/template/setup.py_tmpl	2010-12-31 14:14:28 UTC (rev 119231)
@@ -22,7 +22,7 @@
                         'grok',
                         'grokui.admin',
                         'z3c.testsetup',
-                        'grokcore.startup',
+                        'grokcore.startup',${install_requires|nothing}
                         # Add extra requirements here
                         ],
       )

Modified: grokproject/trunk/grokproject/templates.py
===================================================================
--- grokproject/trunk/grokproject/templates.py	2010-12-31 00:09:31 UTC (rev 119230)
+++ grokproject/trunk/grokproject/templates.py	2010-12-31 14:14:28 UTC (rev 119231)
@@ -104,6 +104,7 @@
 
         vars['package_directory'] = os.path.abspath(os.path.join(
                 os.getcwd(), vars['project']))
+        vars['include_site_packages'] = 'false'
 
         return vars
 



More information about the checkins mailing list