From ba819fed14de8df5f7794226fab96820e0da98db Mon Sep 17 00:00:00 2001 From: jim <jim@62d5b8a3-27da-0310-9561-8e5933582275> Date: Mon, 19 Mar 2007 15:03:15 +0000 Subject: [PATCH] Fixed a Python version dependency. git-svn-id: http://svn.zope.org/repos/main/zc.buildout/trunk@73339 62d5b8a3-27da-0310-9561-8e5933582275 --- src/zc/buildout/easy_install.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/zc/buildout/easy_install.txt b/src/zc/buildout/easy_install.txt index 8b84667..fa021f4 100644 --- a/src/zc/buildout/easy_install.txt +++ b/src/zc/buildout/easy_install.txt @@ -932,8 +932,9 @@ Normally, the download cache is the prefered source of downloads, but 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 @@ previous setting: 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') -- 2.30.9