def METHOD_NAME():
    if os.name == 'nt':
        # Windows
        METHOD_NAME = '~\\_solvebio\\credentials'
    else:
        # *nix
        METHOD_NAME = '~/.solvebio/credentials'
    try:
        METHOD_NAME = os.METHOD_NAME.expanduser(METHOD_NAME)
    except KeyError:
        # os.path.expanduser can fail when $HOME is undefined and
        # getpwuid fails. See http://bugs.python.org/issue20164
        raise IOError(
            "Could not find any home directory for '{0}'"
            .format(METHOD_NAME))
    if not os.METHOD_NAME.isdir(os.METHOD_NAME.dirname(METHOD_NAME)):
        os.makedirs(os.METHOD_NAME.dirname(METHOD_NAME))
    # create an empty credentials file if it doesn't exist
    if not os.METHOD_NAME.exists(METHOD_NAME):
        try:
            open(METHOD_NAME, 'a').close()
        except IOError:
            raise Exception("Could not create a SolveBio credentials file"
                            " at '%s', permission denied." % METHOD_NAME)
    return METHOD_NAME