Commit 0842501c authored by jim's avatar jim

Work around an easy_install bug that should be fixed in b3.


git-svn-id: http://svn.zope.org/repos/main/zc.buildout/trunk@68517 62d5b8a3-27da-0310-9561-8e5933582275
parent 4c9b69e7
......@@ -22,6 +22,7 @@ $Id$
# XXX needs doctest
import sys
import setuptools.command.easy_install
import pkg_resources
import setuptools.package_index
......@@ -45,6 +46,11 @@ def install(spec, dest, links=(), **kw):
)
easy.finalize_options()
# hack around easy_install bug
easy.local_index = pkg_resources.Environment(
easy.shadow_path + sys.path)
old_warn = distutils.log.warn
distutils.log.warn = lambda *a, **k: None
......
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