'Parse and cache metadata'

@property
def _parsed_pkg_info(self):

    try:
        return self._pkg_info
    except AttributeError:
        from email.parser import Parser
        self._pkg_info = Parser().parsestr(self.get_metadata(self.PKG_INFO))
        return self._pkg_info
