'Read exports data from a file in .ini format.
:return: A dictionary of exports, mapping an export category to a list
of :class:`ExportEntry` instances describing the individual
export entries.'

def read_exports(self):

    result = {}
    r = self.get_distinfo_resource(EXPORTS_FILENAME)
    if r:
        with contextlib.closing(r.as_stream()) as stream:
            result = read_exports(stream)
    return result
