Commit ba819fed authored by jim's avatar jim

Fixed a Python version dependency.


git-svn-id: http://svn.zope.org/repos/main/zc.buildout/trunk@73339 62d5b8a3-27da-0310-9561-8e5933582275
parent a90e5409
...@@ -932,8 +932,9 @@ Normally, the download cache is the prefered source of downloads, but ...@@ -932,8 +932,9 @@ Normally, the download cache is the prefered source of downloads, but
not the only one. not the only one.
Installing solely from a download cache 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 releases. In an application source release, we want to distribute an
application that can be built without making any network accesses. In application that can be built without making any network accesses. In
this case, we distribute a download cache and tell the easy_install this case, we distribute a download cache and tell the easy_install
...@@ -955,7 +956,10 @@ previous setting: ...@@ -955,7 +956,10 @@ previous setting:
Let's remove demo-0.3-py2.4.egg from the cache, clear the index cache, Let's remove demo-0.3-py2.4.egg from the cache, clear the index cache,
recreate the destination directory, and reinstall demo: 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() >>> zc.buildout.easy_install.clear_index_cache()
>>> remove(dest) >>> remove(dest)
>>> dest = tmpdir('sample-install') >>> dest = tmpdir('sample-install')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment