Commit fda8b67a authored by PJ Eby's avatar PJ Eby

Fix for http://bugs.python.org/setuptools/issue37 - missing

__loader__ running under Google App Engine. (backport from trunk)

--HG--
branch : setuptools-0.6
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4066389
parent 8b2b1529
......@@ -29,7 +29,7 @@ def write_stub(resource, pyfile):
" import sys, pkg_resources, imp",
" __file__ = pkg_resources.resource_filename(__name__,%r)"
% resource,
" del __bootstrap__, __loader__",
" __loader__ = None; del __bootstrap__, __loader__",
" imp.load_dynamic(__name__,__file__)",
"__bootstrap__()",
"" # terminal \n
......
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