""" python -c "import vtool" --dump-vtool-init python -c "import vtool" --update-vtool-init """ DOELSE = False if __DYNAMIC__: # TODO: import all utool external prereqs. Then the imports will not import # anything that has already in a toplevel namespace # COMMENTED OUT FOR FROZEN __INIT__ # Dynamically import listed util libraries and their members. from utool._internal import util_importer # FIXME: this might actually work with rrrr, but things arent being # reimported because they are already in the modules list ignore_endswith = ['_cyth'] import_execstr = util_importer.dynamic_import( __name__, IMPORT_TUPLES, ignore_endswith=ignore_endswith) exec(import_execstr) DOELSE = False else: # Do the nonexec import (can force it to happen no matter what if alwyas set # to True) DOELSE = True if DOELSE: pass # <AUTOGEN_INIT> from vtool import image from vtool import histogram from vtool import image from vtool import exif
""" __DYNAMIC__ = not ut.get_argflag('--nodyn') DOELSE = False if __DYNAMIC__: # TODO: import all utool external prereqs. Then the imports will not import # anything that has already in a toplevel namespace # COMMENTED OUT FOR FROZEN __INIT__ # Dynamically import listed util libraries and their members. from utool._internal import util_importer # FIXME: this might actually work with rrrr, but things arent being # reimported because they are already in the modules list ignore_endswith = ['_cyth'] ignore_list = ['Qt'] import_execstr = util_importer.dynamic_import( __name__, IMPORT_TUPLES, ignore_endswith=ignore_endswith, ignore_list=ignore_list, verbose=False) exec(import_execstr) DOELSE = False else: # Do the nonexec import (can force it to happen no matter what if alwyas set # to True) DOELSE = True # This screws up dynamic_import if it is placed before from guitool.guitool_tables import * from guitool.guitool_dialogs import * from guitool.guitool_decorators import * from guitool.guitool_delegates import * from guitool.guitool_components import *
python -c "import guitool" --update-guitool-init """ __DYNAMIC__ = not ut.get_argflag('--nodyn') DOELSE = False if __DYNAMIC__: # TODO: import all utool external prereqs. Then the imports will not import # anything that has already in a toplevel namespace # COMMENTED OUT FOR FROZEN __INIT__ # Dynamically import listed util libraries and their members. from utool._internal import util_importer # FIXME: this might actually work with rrrr, but things arent being # reimported because they are already in the modules list ignore_endswith = ['_cyth'] ignore_list = ['Qt'] import_execstr = util_importer.dynamic_import(__name__, IMPORT_TUPLES, ignore_endswith=ignore_endswith, ignore_list=ignore_list, verbose=False) exec(import_execstr) DOELSE = False else: # Do the nonexec import (can force it to happen no matter what if alwyas set # to True) DOELSE = True # This screws up dynamic_import if it is placed before from guitool.guitool_tables import * from guitool.guitool_dialogs import * from guitool.guitool_decorators import * from guitool.guitool_delegates import * from guitool.guitool_components import * from guitool.guitool_main import *
('DynamicStruct', ['DynStruct']), ('Preferences', ['Pref']), ] DOELSE = False if __DYNAMIC__: # TODO: import all utool external prereqs. Then the imports will not import # anything that has already in a toplevel namespace # COMMENTED OUT FOR FROZEN __INIT__ # Dynamically import listed util libraries and their members. from utool._internal import util_importer # FIXME: this might actually work with rrrr, but things arent being # reimported because they are already in the modules list import_execstr = util_importer.dynamic_import(__name__, IMPORT_TUPLES) exec(import_execstr) DOELSE = False else: # Do the nonexec import (can force it to happen no matter what if alwyas set # to True) DOELSE = True if DOELSE: # <AUTOGEN_INIT> from utool import _internal from utool import util_alg from utool import util_aliases from utool import util_arg from utool import util_assert
python -c "import plottool" --dump-plottool-init python -c "import plottool" --update-plottool-init """ DOELSE = False if __DYNAMIC__: # TODO: import all utool external prereqs. Then the imports will not import # anything that has already in a toplevel namespace # COMMENTED OUT FOR FROZEN __INIT__ # Dynamically import listed util libraries and their members. from utool._internal import util_importer # FIXME: this might actually work with rrrr, but things arent being # reimported because they are already in the modules list ignore_endswith = ['_cyth'] import_execstr = util_importer.dynamic_import(__name__, IMPORT_TUPLES, ignore_endswith=ignore_endswith) exec(import_execstr) DOELSE = False else: # Do the nonexec import (can force it to happen no matter what if alwyas set # to True) DOELSE = True if DOELSE: pass # <AUTOGEN_INIT> from plottool import plot_helpers from plottool import fig_presenter from plottool import custom_constants from plottool import custom_figure
('viewpoint', None), ] """ python -c "import ibeis_cnn.models" --dump-ibeis_cnn.models-init python -c "import ibeis_cnn.models" --update-ibeis_cnn.models-init """ __DYNAMIC__ = True if __DYNAMIC__: # TODO: import all utool external prereqs. Then the imports will not import # anything that has already in a toplevel namespace # COMMENTED OUT FOR FROZEN __INIT__ # Dynamically import listed util libraries and their members. from utool._internal import util_importer # FIXME: this might actually work with rrrr, but things arent being # reimported because they are already in the modules list import_execstr = util_importer.dynamic_import(__name__, IMPORT_TUPLES) exec(import_execstr) DOELSE = False else: # Do the nonexec import (can force it to happen no matter what if alwyas set # to True) DOELSE = True if DOELSE: # <AUTOGEN_INIT> pass # </AUTOGEN_INIT> """ Regen Command: cd /home/joncrall/code/ibeis_cnn/ibeis_cnn/models makeinit.py --modname=ibeis_cnn.models --star