'Create a metadata provider from a zipimporter'

def __init__(self, importer):

    self.zipinfo = build_zipmanifest(importer.archive)
    self.zip_pre = (importer.archive + os.sep)
    self.loader = importer
    if importer.prefix:
        self.module_path = os.path.join(importer.archive, importer.prefix)
    else:
        self.module_path = importer.archive
    self._setup_prefix()
