def get_sysinfo(verbose=0):
    if verbose:
        print(('USER = %r' % os.getenv('USER')))
    if is_running_as_root():
        print('Do not run super_setup.py as root')
        sys.exit(1)
    WIN32 = sys.platform.startswith('win32')
    if verbose:
        print('[super_setup] __IBEIS_SUPER_SETUP__')
    if ('CODE_DIR' in os.environ):
        CODE_DIR = os.environ.get('CODE_DIR')
    else:
        CODE_DIR = dirname(dirname(realpath(__file__)))
    if verbose:
        print(('[super_setup] code_dir: %r' % CODE_DIR))
    (DISTRO, DISTRO_VERSION, DISTRO_TAG) = platform.dist()
    python_version = platform.python_version()
    PY2 = python_version.startswith('2.7')
    PY3 = python_version.startswith('3')
    pythoncmd = sys.executable
    return (CODE_DIR, pythoncmd, WIN32, PY2, PY3)
def get_sysinfo(verbose=0):
    if verbose:
        print(('USER = %r' % os.getenv('USER')))
    if is_running_as_root():
        print('Do not run super_setup.py as root')
        sys.exit(1)
    WIN32 = sys.platform.startswith('win32')
    if verbose:
        print('[super_setup] __IBEIS_SUPER_SETUP__')
    if ('CODE_DIR' in os.environ):
        CODE_DIR = os.environ.get('CODE_DIR')
    else:
        CODE_DIR = dirname(dirname(realpath(__file__)))
    if verbose:
        print(('[super_setup] code_dir: %r' % CODE_DIR))
    (DISTRO, DISTRO_VERSION, DISTRO_TAG) = platform.dist()
    python_version = platform.python_version()
    PY2 = python_version.startswith('2.7')
    PY3 = python_version.startswith('3')
    pythoncmd = sys.executable
    return (CODE_DIR, pythoncmd, WIN32, PY2, PY3)