[Checkins] SVN: zc.buildout/trunk/eggrecipe/src/zc/recipe/egg/README.txt Test/demo that the part name is used if a distribution isn't

Jim Fulton jim at zope.com
Fri Jun 9 17:32:33 EDT 2006


Log message for revision 68555:
  Test/demo that the part name is used if a distribution isn't
  specified.
  

Changed:
  U   zc.buildout/trunk/eggrecipe/src/zc/recipe/egg/README.txt

-=-
Modified: zc.buildout/trunk/eggrecipe/src/zc/recipe/egg/README.txt
===================================================================
--- zc.buildout/trunk/eggrecipe/src/zc/recipe/egg/README.txt	2006-06-09 21:32:30 UTC (rev 68554)
+++ zc.buildout/trunk/eggrecipe/src/zc/recipe/egg/README.txt	2006-06-09 21:32:32 UTC (rev 68555)
@@ -9,6 +9,8 @@
 
    This is a requirement as defined by setuptools.
 
+   If not specified, the distribution defaults to the part name.
+
 find_links
    A list of URLs, files, or directories to search for distributions.
 
@@ -101,7 +103,6 @@
     ...
     ... [demo]
     ... recipe = zc.recipe.egg
-    ... distribution = demo
     ... find_links = %s
     ... """ % sample_eggs)
 
@@ -117,6 +118,9 @@
     -  demoneeded-1.0-py2.3.egg
     -  zc.recipe.egg.egg-link
 
+Note that we removed the distribution option, and the distribution
+defaulted to the part name.
+
 The script is updated too:
 
     >>> print system(os.path.join(sample_buildout, 'bin', 'demo')),
@@ -134,7 +138,6 @@
     ...
     ... [demo]
     ... recipe = zc.recipe.egg
-    ... distribution = demo
     ... find_links = %s
     ... scripts =
     ... """ % sample_eggs)
@@ -155,7 +158,6 @@
     ...
     ... [demo]
     ... recipe = zc.recipe.egg
-    ... distribution = demo
     ... find_links = %s
     ... scripts = demo=foo
     ... """ % sample_eggs)



More information about the Checkins mailing list