def write_exports(self, exports):
rf = self.get_distinfo_file(EXPORTS_FILENAME)<EOL>with open(rf, '<STR_LIT:w>') as f:<EOL><INDENT>write_exports(exports, f)<EOL><DEDENT>
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.