'Creates a default .pypirc file.'

def _store_pypirc(self, username, password):

    rc = self._get_rc_file()
    f = os.fdopen(os.open(rc, (os.O_CREAT | os.O_WRONLY), 384), 'w')
    try:
        f.write((DEFAULT_PYPIRC % (username, password)))
    finally:
        f.close()
