def getusersitepackages():
    global USER_SITE
    user_base = getuserbase() # this will also set USER_BASE

    if USER_SITE is not None:
        return USER_SITE

    from sysconfig import get_path
    import os

    if sys.platform == 'darwin':
        from sysconfig import get_config_var
        if get_config_var('PYTHONFRAMEWORK'):
            USER_SITE = get_path('purelib', 'osx_framework_user')
            return USER_SITE

    USER_SITE = get_path('purelib', '%s_user' % os.name)
    return USER_SITE
Invoke job_info() with scan id incorrect
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/core/system/mac_site.py/getusersitepackages--crossover with--dataset/ETHPy150Open aerospike/aerospike-client-python/test/old_tests/test_job_info.py/TestScanInfo.test_job_info_with_scanid_string