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

def write_exports(self, exports):

    rf = self.get_distinfo_file(EXPORTS_FILENAME)
    with open(rf, u'w') as f:
        write_exports(exports, f)
