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