from asset_library.file import ( operators, gui, keymaps) if 'bpy' in locals(): import importlib importlib.reload(operators) importlib.reload(gui) importlib.reload(keymaps) def register(): operators.register() keymaps.register() def unregister(): operators.unregister() keymaps.unregister()