def add_distribution(self, dist):
        logger.debug('adding distribution %s', dist)
        name = dist.key
        self.dists_by_name[name] = dist
        self.dists[(name, dist.version)] = dist
        for p in dist.provides:
            name, version = parse_name_and_version(p)
            logger.debug('Add to provided: %s, %s, %s', name, version, dist)
            self.provided.setdefault(name, set()).add((version, dist))
Helper to create a folder structure resembling a pub-compliant package.
dataset/ETHPy150Open francelabs/datafari/windows/python/Lib/site-packages/pip/_vendor/distlib/locators.py/DependencyFinder.add_distribution--crossover with--dataset/ETHPy150Open guillermooo/dart-sublime-bundle/tests/lib/test_pub_package.py/make_package