def uninstall(): """ Uninstalling Nukestudio integration for avalon """ log.info("Deregistering NukeStudio plug-ins..") pyblish.deregister_host("nukestudio") pyblish.deregister_plugin_path(PUBLISH_PATH) avalon.deregister_plugin_path(avalon.Loader, LOAD_PATH) avalon.deregister_plugin_path(avalon.Creator, CREATE_PATH)
def uninstall(): """ Uninstalling Hiero integration for avalon """ log.info("Deregistering Hiero plug-ins..") pyblish.deregister_host("hiero") pyblish.deregister_plugin_path(PUBLISH_PATH) avalon.deregister_plugin_path(avalon.Loader, LOAD_PATH) avalon.deregister_plugin_path(avalon.Creator, CREATE_PATH) # register callback for switching publishable pyblish.deregister_callback("instanceToggled", on_pyblish_instance_toggled)
def uninstall(): """Uninstall all that was previously installed This is where you undo everything that was done in `install()`. That means, removing menus, deregistering families and data and everything. It should be as though `install()` was never run, because odds are calling this function means the user is interested in re-installing shortly afterwards. If, for example, he has been modifying the menu or registered families. """ _uninstall_menu() pyblish.deregister_host("nuke")
def uninstall(): """Uninstall all tha was installed This is where you undo everything that was done in `install()`. That means, removing menus, deregistering families and data and everything. It should be as though `install()` was never run, because odds are calling this function means the user is interested in re-installing shortly afterwards. If, for example, he has been modifying the menu or registered families. """ pyblish.deregister_host("premiere") pyblish.deregister_plugin_path(PUBLISH_PATH) log.info("Deregistering Premiera plug-ins..") avalon.deregister_plugin_path(avalon.Loader, LOAD_PATH) avalon.deregister_plugin_path(avalon.Creator, CREATE_PATH)
def uninstall(): """Uninstall all tha was installed This is where you undo everything that was done in `install()`. That means, removing menus, deregistering families and data and everything. It should be as though `install()` was never run, because odds are calling this function means the user is interested in re-installing shortly afterwards. If, for example, he has been modifying the menu or registered families. """ pyblish.deregister_host("resolve") pyblish.deregister_plugin_path(PUBLISH_PATH) log.info("Deregistering DaVinci Resovle plug-ins..") avalon.deregister_plugin_path(avalon.Loader, LOAD_PATH) avalon.deregister_plugin_path(avalon.Creator, CREATE_PATH) avalon.deregister_plugin_path(avalon.InventoryAction, INVENTORY_PATH) # register callback for switching publishable pyblish.deregister_callback("instanceToggled", on_pyblish_instance_toggled)
def uninstall(config): """Uninstall Maya-specific functionality of avalon-core. This function is called automatically on calling `api.uninstall()`. """ _uninstall_menu() pyblish.deregister_host("mayabatch") pyblish.deregister_host("mayapy") pyblish.deregister_host("maya")
def uninstall(config): """Uninstall Maya-specific functionality of avalon-core. This function is called automatically on calling `api.uninstall()`. """ config = find_host_config(config) if hasattr(config, "uninstall"): config.uninstall() _uninstall_menu() pyblish.deregister_host("mayabatch") pyblish.deregister_host("mayapy") pyblish.deregister_host("maya")
def deregister_host(): """De-register supported hosts""" api.deregister_host("nuke")
def uninstall(): _uninstall_menu() pyblish.deregister_host("mayabatch") pyblish.deregister_host("mayapy") pyblish.deregister_host("maya")