def read_pypirc(repository=DEFAULT_REPOSITORY):
    rc = op.join(op.expanduser('~'), '.pypirc')
    if op.exists(rc):
        fp = open(rc, "rt")
        try:
            return parse_pypirc(fp, repository)
        finally:
            fp.close()
    else:
        return IOError("Default pypirc config file not found: %r" % rc)
Ensure unique consumer tags are enforced
dataset/ETHPy150Open cournape/Bento/bento/pypi/register_utils.py/read_pypirc--crossover with--dataset/ETHPy150Open tweetdeck/txAMQP/src/txamqp/test/test_basic.py/BasicTests.test_consume_unique_consumers