Dieter Maurer wrote at 2005-5-13 19:26 +0200:
> ... high Zope startup time ...
>To overcome this obstacle, we tweaked Zope and fixed Python's import
>mechanism such that Zope now starts either out of a ZIP archive
>or as a frozen application.
>In more details, we did:
> * implement a package for a new kind of "url"s "pypackage:"
> for package relative access to resources.
> The package monkey patches Python's "open", "os.listdir",
> "os.stat" to provide transparent access to
> "pypackage:" identified resources.
> It currently support package relative access for
> packages loaded from the file system, from a ZIP
> archive and from the executable itself (i.e. frozen packages).
> In the last case, the resources are in a separate ZIP
> This package might be interesting for Python as a whole
> as it is not Zope specific.
I have now released this part as independent Python packages
"dllimporter" and "packageresources".
You can find them via
In case, they should be included into Zope, I would give them
a dual license (my own BSD-like and ZPL).
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -