def main():
    print('\n    IBEIS Image Analysis (IA)\n    ____ _  _ ___  ____ ____    ____ ____ ___ _  _ ___\n    [__  |  | |__] |___ |__/    [__  |___  |  |  | |__]\n    ___] |__| |    |___ |  \\    ___] |___  |  |__| |\n\n    Use --help to show usage\n    ')
    show_usage = ((len(sys.argv) > 1) and (sys.argv[1] in ['--help', '-h']))
    if show_usage:
        print(USAGE)
    (CODE_DIR, pythoncmd, WIN32, PY2, PY3) = get_sysinfo(verbose=1)
    try:
        import cv2
    except ImportError:
        print('Need to install OpenCV')
        print('python super_setup.py --opencv')
    try:
        import pyflann
    except ImportError:
        print('Need to install FLANN')
        print('python super_setup.py --flann')
    try:
        import theano, lasagne
    except ImportError:
        print('Need to install Theano/Lasagne/Pylearn2')
        print('python super_setup.py --dcnn')
    except ValueError as ex:
        print(repr(ex))
        print('Probably need libgpu array')
        print('python super_setup.py --libgpuarray')
    try:
        try:
            import PyQt4
        except ImportError:
            import PyQt5
    except ImportError:
        print('Need to install PyQt')
        print('python super_setup.py --pyqt')
    if (('--bootstrap' in sys.argv) or ('bootstrap' in sys.argv)):
        bootstrap(WIN32)
    try:
        print('Checking utool')
        import utool as ut
    except Exception:
        ensure_utool(CODE_DIR, pythoncmd)
    (tpl_rman, ibeis_rman) = initialize_repo_managers(CODE_DIR, pythoncmd, PY2, PY3)
    execute_commands(tpl_rman, ibeis_rman)
def main():
    print('\n    IBEIS Image Analysis (IA)\n    ____ _  _ ___  ____ ____    ____ ____ ___ _  _ ___\n    [__  |  | |__] |___ |__/    [__  |___  |  |  | |__]\n    ___] |__| |    |___ |  \\    ___] |___  |  |__| |\n\n    Use --help to show usage\n    ')
    show_usage = ((len(sys.argv) > 1) and (sys.argv[1] in ['--help', '-h']))
    if show_usage:
        print(USAGE)
    (CODE_DIR, pythoncmd, WIN32, PY2, PY3) = get_sysinfo(verbose=1)
    try:
        import cv2
    except ImportError:
        print('Need to install OpenCV')
        print('python super_setup.py --opencv')
    try:
        import pyflann
    except ImportError:
        print('Need to install FLANN')
        print('python super_setup.py --flann')
    try:
        import theano, lasagne
    except ImportError:
        print('Need to install Theano/Lasagne/Pylearn2')
        print('python super_setup.py --dcnn')
    except ValueError as ex:
        print(repr(ex))
        print('Probably need libgpu array')
        print('python super_setup.py --libgpuarray')
    try:
        try:
            import PyQt4
        except ImportError:
            import PyQt5
    except ImportError:
        print('Need to install PyQt')
        print('python super_setup.py --pyqt')
    if (('--bootstrap' in sys.argv) or ('bootstrap' in sys.argv)):
        bootstrap(WIN32)
    try:
        print('Checking utool')
        import utool as ut
    except Exception:
        ensure_utool(CODE_DIR, pythoncmd)
    (tpl_rman, ibeis_rman) = initialize_repo_managers(CODE_DIR, pythoncmd, PY2, PY3)
    execute_commands(tpl_rman, ibeis_rman)