[Distutils] indexing sys.meta_path hook?
PJ Eby
pje at telecommunity.com
Sat Sep 29 00:23:18 CEST 2012
On Fri, Sep 28, 2012 at 4:14 PM, Daniel Holth <dholth at gmail.com> wrote:
> Has anyone bothered to write a meta path hook that checks all the
> top_level.txt on a sys.path full of eggs, and uses
> imp.load_module(name, short list of paths) to find the module instead
> of the default load_module(name, full sys.path)?
If you're talking about runtime caching, Python 3.3 does something
similar by default. For older Pythons, using zipped eggs does
something similar by default (which is why eggs default to installing
zipped under easy_install, actually).
More information about the Distutils-SIG
mailing list