def getuserbase():
    global USER_BASE
    if USER_BASE is not None:
        return USER_BASE
    from sysconfig import get_config_var
    USER_BASE = get_config_var('userbase')
    return USER_BASE
Returns the `user base` directory path.
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/core/system/mac_site.py/getuserbase