def METHOD_NAME(self):
    if not self.distribution.dist_files:
        msg = "No dist file created in earlier command"
        raise DistutilsOptionError(msg)
    for command, pyversion, filename in self.distribution.dist_files:
        self.upload_file(command, pyversion, filename)