def write_pkg_info(self, base_dir):
        """Write the PKG-INFO file into the release tree."""
        with open(
            os.path.join(base_dir, 'PKG-INFO'), 'w', encoding='UTF-8'
        ) as pkg_info:
            self.write_pkg_file(pkg_info)
Write the PKG-INFO file into the release tree.
product/gradle-plugin/src/main/python/setuptools/_distutils/dist.py