def remove_distribution(self, dist):
logger.debug('<STR_LIT>', dist)<EOL>name = dist.key<EOL>del self.dists_by_name[name]<EOL>del self.dists[(name, dist.version)]<EOL>for p in dist.provides:<EOL><INDENT>name, version = parse_name_and_version(p)<EOL>logger.debug('<STR_LIT>', name, version, dist)<EOL>s = self.provided[name]<EOL>s.remove((version, dist))<EOL>if not s:<EOL><INDENT>del self.provided[name]<EOL><DEDENT><DEDENT>
Remove a distribution from the finder. This will update internal
information about who provides what.
:param dist: The distribution to remove.