--- iu.py	2009-05-13 10:59:54.000000000 +0100
+++ iu.patched.py	2009-05-13 17:47:14.000000000 +0100
@@ -170,6 +170,10 @@
                     mod.__path__ = [_os_path_join(self.path, nm)]
                     subimporter = PathImportDirector(mod.__path__)
                     mod.__importsub__ = subimporter.getmod
+                if self.path.endswith(".egg"):
+                    mod.__file__ = _os_path_join(
+                        _os_path_join(self.path, nm), "__init__.py")
+                    mod.__loader__ = self.__zip
                 mod.__co__ = co
                 return mod
             except zipimport.ZipImportError:
