[Checkins] SVN: zc.buildout/trunk/src/zc/buildout/easy_install.txt Fixed a Python version dependency.

Jim Fulton jim at zope.com
Mon Mar 19 11:03:16 EDT 2007


Log message for revision 73339:
  Fixed a Python version dependency.
  

Changed:
  U   zc.buildout/trunk/src/zc/buildout/easy_install.txt

-=-
Modified: zc.buildout/trunk/src/zc/buildout/easy_install.txt
===================================================================
--- zc.buildout/trunk/src/zc/buildout/easy_install.txt	2007-03-19 13:00:21 UTC (rev 73338)
+++ zc.buildout/trunk/src/zc/buildout/easy_install.txt	2007-03-19 15:03:15 UTC (rev 73339)
@@ -932,8 +932,9 @@
 not the only one.
 
 Installing solely from a download cache
+---------------------------------------
 
-A download cache can be used as the basis of application sources
+A download cache can be used as the basis of application source
 releases.  In an application source release, we want to distribute an
 application that can be built without making any network accesses.  In
 this case, we distribute a download cache and tell the easy_install
@@ -955,7 +956,10 @@
 Let's remove demo-0.3-py2.4.egg from the cache, clear the index cache,
 recreate the destination directory, and reinstall demo:
 
-    >>> remove(cache, 'demo-0.3-py2.4.egg')
+    >>> for  f in os.listdir(cache):
+    ...     if f.startswith('demo-0.3-'):
+    ...         remove(cache, f)
+
     >>> zc.buildout.easy_install.clear_index_cache()
     >>> remove(dest)
     >>> dest = tmpdir('sample-install')



More information about the Checkins mailing list