[Checkins] SVN: zc.buildout/trunk/src/zc/buildout/easy_install.py
Work around an easy_install bug that should be fixed in b3.
Jim Fulton
jim at zope.com
Wed Jun 7 18:45:46 EDT 2006
Log message for revision 68517:
Work around an easy_install bug that should be fixed in b3.
Changed:
U zc.buildout/trunk/src/zc/buildout/easy_install.py
-=-
Modified: zc.buildout/trunk/src/zc/buildout/easy_install.py
===================================================================
--- zc.buildout/trunk/src/zc/buildout/easy_install.py 2006-06-07 18:39:39 UTC (rev 68516)
+++ zc.buildout/trunk/src/zc/buildout/easy_install.py 2006-06-07 22:45:45 UTC (rev 68517)
@@ -22,6 +22,7 @@
# XXX needs doctest
+import sys
import setuptools.command.easy_install
import pkg_resources
import setuptools.package_index
@@ -45,6 +46,11 @@
)
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
More information about the Checkins
mailing list