[Checkins] SVN: z3c.recipe.tag/trunk/ Allow setting console_script argument defaults in recipe options.

Christian Theune cvs-admin at zope.org
Tue Aug 21 14:47:27 UTC 2012


Log message for revision 127540:
  Allow setting console_script argument defaults in recipe options.
  

Changed:
  _U  z3c.recipe.tag/trunk/
  U   z3c.recipe.tag/trunk/CHANGES.txt
  U   z3c.recipe.tag/trunk/buildout.cfg
  U   z3c.recipe.tag/trunk/src/z3c/recipe/tag/__init__.py

-=-

Property changes on: z3c.recipe.tag/trunk
___________________________________________________________________
Modified: svn:ignore
   - develop-eggs
bin
parts
.installed.cfg
dist
*.kpf
*.bbproject
tags
TAGS
ID

   + develop-eggs
eggs
bin
parts
.installed.cfg
dist
*.kpf
*.bbproject
tags
TAGS
ID


Modified: z3c.recipe.tag/trunk/CHANGES.txt
===================================================================
--- z3c.recipe.tag/trunk/CHANGES.txt	2012-08-21 07:21:51 UTC (rev 127539)
+++ z3c.recipe.tag/trunk/CHANGES.txt	2012-08-21 14:47:22 UTC (rev 127540)
@@ -2,10 +2,11 @@
 CHANGES
 =======
 
-0.4.2 (unreleased)
+0.5 (unreleased)
 ------------------
 
-- Nothing changed yet.
+- Add 'defaults' option to allow adding default command line options (e.g. to
+  set '-v' by default)
 
 
 0.4.1 (2012-01-11)

Modified: z3c.recipe.tag/trunk/buildout.cfg
===================================================================
--- z3c.recipe.tag/trunk/buildout.cfg	2012-08-21 07:21:51 UTC (rev 127539)
+++ z3c.recipe.tag/trunk/buildout.cfg	2012-08-21 14:47:22 UTC (rev 127540)
@@ -1,5 +1,4 @@
 [buildout]
-index = http://download.zope.org/zope3.4
 develop = .
 parts = z3c.recipe.tag test tags
 newest = false
@@ -16,4 +15,5 @@
 
 [tags]
 recipe = z3c.recipe.tag:tags
-eggs = z3c.recipe.tag
\ No newline at end of file
+eggs = z3c.recipe.tag
+defaults = ['-v']

Modified: z3c.recipe.tag/trunk/src/z3c/recipe/tag/__init__.py
===================================================================
--- z3c.recipe.tag/trunk/src/z3c/recipe/tag/__init__.py	2012-08-21 07:21:51 UTC (rev 127539)
+++ z3c.recipe.tag/trunk/src/z3c/recipe/tag/__init__.py	2012-08-21 14:47:22 UTC (rev 127540)
@@ -64,6 +64,7 @@
             include_site_packages=self._delegated.include_site_packages,
             exec_sitecustomize=self._delegated.exec_sitecustomize,
             relative_paths=self._delegated._relative_paths,
+            script_arguments=options.get('defaults', []),
             script_initialization=initialization,
             ))
 



More information about the checkins mailing list