summaryrefslogtreecommitdiff
path: root/setuptools/command
diff options
context:
space:
mode:
authorphillip.eby <phillip.eby@6015fed2-1504-0410-9fe1-9d1591cc4771>2008-09-11 15:43:26 +0000
committerphillip.eby <phillip.eby@6015fed2-1504-0410-9fe1-9d1591cc4771>2008-09-11 15:43:26 +0000
commitb76269a6866c5b47ec72b837a27ae0d1ef65d1ea (patch)
tree8d7cd9b547d11f6c8b57516b4ac92f7247c24fa4 /setuptools/command
parente03e9ce947a2f81310a3d4dbf2341d596e87359a (diff)
downloadpython-setuptools-b76269a6866c5b47ec72b837a27ae0d1ef65d1ea.tar.gz
Fix for http://bugs.python.org/setuptools/issue37 - missing
__loader__ running under Google App Engine. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@66388 6015fed2-1504-0410-9fe1-9d1591cc4771
Diffstat (limited to 'setuptools/command')
-rw-r--r--setuptools/command/bdist_egg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/bdist_egg.py b/setuptools/command/bdist_egg.py
index 61fd6c3..9e852a3 100644
--- a/setuptools/command/bdist_egg.py
+++ b/setuptools/command/bdist_egg.py
@@ -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