def basename(self):
        """
        Allow basename to be overridden by child class.
        Ref pypa/distutils#2.
        """
        return "%s-%s-py%d.%d.egg-info" % (
            to_filename(safe_name(self.distribution.get_name())),
            to_filename(safe_version(self.distribution.get_version())),
            *sys.version_info[:2],
        )

        Allow basename to be overridden by child class.
        Ref pypa/distutils#2.
        
product/gradle-plugin/src/main/python/setuptools/_distutils/command/install_egg_info.py