[Checkins] SVN: zc.buildout/trunk/eggrecipe/src/zc/recipe/egg/
Renamed several options to use -s rather than _s.
Jim Fulton
jim at zope.com
Mon Jun 12 16:18:30 EDT 2006
Log message for revision 68605:
Renamed several options to use -s rather than _s.
Changed:
U zc.buildout/trunk/eggrecipe/src/zc/recipe/egg/README.txt
U zc.buildout/trunk/eggrecipe/src/zc/recipe/egg/egg.py
-=-
Modified: zc.buildout/trunk/eggrecipe/src/zc/recipe/egg/README.txt
===================================================================
--- zc.buildout/trunk/eggrecipe/src/zc/recipe/egg/README.txt 2006-06-12 20:18:27 UTC (rev 68604)
+++ zc.buildout/trunk/eggrecipe/src/zc/recipe/egg/README.txt 2006-06-12 20:18:29 UTC (rev 68605)
@@ -11,7 +11,7 @@
If not specified, the distribution defaults to the part name.
-find_links
+find-links
A list of URLs, files, or directories to search for distributions.
To illustrate this, we've created a directory with some sample eggs:
@@ -33,11 +33,11 @@
... [demo]
... recipe = zc.recipe.egg
... distribution = demo <0.3
- ... find_links = %s
+ ... find-links = %s
... """ % sample_eggs)
In this example, we limited ourself to revisions before 0.3. We also
-specified where to find distributions using the find_links option.
+specified where to find distributions using the find-links option.
Let's run the buildout:
@@ -103,7 +103,7 @@
...
... [demo]
... recipe = zc.recipe.egg
- ... find_links = %s
+ ... find-links = %s
... """ % sample_eggs)
and rerun the buildout:
@@ -138,7 +138,7 @@
...
... [demo]
... recipe = zc.recipe.egg
- ... find_links = %s
+ ... find-links = %s
... scripts =
... """ % sample_eggs)
@@ -158,7 +158,7 @@
...
... [demo]
... recipe = zc.recipe.egg
- ... find_links = %s
+ ... find-links = %s
... scripts = demo=foo
... """ % sample_eggs)
Modified: zc.buildout/trunk/eggrecipe/src/zc/recipe/egg/egg.py
===================================================================
--- zc.buildout/trunk/eggrecipe/src/zc/recipe/egg/egg.py 2006-06-12 20:18:27 UTC (rev 68604)
+++ zc.buildout/trunk/eggrecipe/src/zc/recipe/egg/egg.py 2006-06-12 20:18:29 UTC (rev 68605)
@@ -29,8 +29,8 @@
def install(self):
distribution = self.options.get('distribution', self.name)
links = self.options.get(
- 'find_links',
- self.buildout['buildout'].get('find_links'),
+ 'find-links',
+ self.buildout['buildout'].get('find-links'),
)
if links:
links = links.split()
More information about the Checkins
mailing list