Commits

Anonymous committed 5f47de4

Fix for http://bugs.python.org/setuptools/issue37 - missing
__loader__ running under Google App Engine. (backport from trunk)

Comments (0)

Files changed (1)

setuptools/command/bdist_egg.py

         "   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