(self, importer)
Create a metadata provider from a zipimporter
Create a metadata provider from a zipimporter
Create a metadata provider from a zipimporter
def __init__(self, importer):
        """Create a metadata provider from a zipimporter"""

        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()
def __init__ ( self , importer ) : 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 ( )