Searching the list of locations specified by path, yielding distributions whose names match name, if specified. If path is None, sys.path is searched. If name is None, all recognized distributions are yielded. Distribution objects yielded by this routine may be added to sys.metapath in order to make them accessible for importing, as they are PEP 302-compatible "importer" objects.
Open the named resource as a file-like object, using the specified mode ('t', 'b', or 'U').
resource_filename(package_name,resource_name)
Return a platform file or directory name for the named resource. If the package is in an egg distribution, the resource will be unpacked before the filename is returned. If the named resource is a directory, the entire directory's contents will be extracted before the directory name is returned. Also, if the named resource is an "eager" resource such as a Python extension or shared library, then all "eager" resources will be extracted before the resource's filename is returned. (This is to ensure that shared libraries that link to other included libraries will have their dependencies available before loading.)
set_extraction_path(path)
Set the base path where resources will be extracted to