def uninstall(): print("Deregistering Fusion plug-ins..") pyblish.deregister_plugin_path(PUBLISH_PATH) avalon.deregister_plugin_path(avalon.Loader, LOAD_PATH) avalon.deregister_plugin_path(avalon.Creator, CREATE_PATH) pyblish.deregister_callback("instanceToggled", on_pyblish_instance_toggled)
def uninstall(): # uninstall pipeline menu menu.uninstall() # uninstall pipeline plugins pyblish.deregister_plugin_path(PUBLISH_PATH) # uninstall task plugins uninstall_tasks()
def uninstall(): log.info("Deregistering Aport plug-ins..") pyblish.deregister_plugin_path(PUBLISH_PATH) avalon.deregister_plugin_path(avalon.Loader, LOAD_PATH) avalon.deregister_plugin_path(avalon.Creator, CREATE_PATH) # reset data from templates api.reset_data_from_templates()
def uninstall(): log.info("Dress off.") # uninstall pipeline menu menu.uninstall() # uninstall pipeline plugins pyblish.deregister_plugin_path(PUBLISH_PATH) avalon.deregister_plugin_path(avalon.Loader, LOAD_PATH) avalon.deregister_plugin_path(avalon.Creator, CREATE_PATH)
def deregister_plugins(): from . import plugins plugin_path = os.path.dirname(plugins.__file__) try: api.deregister_plugin_path(plugin_path) except ValueError: self.log.warning("pyblish-starter plug-ins not registered.")
def uninstall(): log.info("Deregistering global plug-ins..") pyblish.deregister_plugin_path(PUBLISH_PATH) pyblish.deregister_discovery_filter(filter_pyblish_plugins) avalon.deregister_plugin_path(avalon.Loader, LOAD_PATH) log.info("Global plug-ins unregistred") # restore original discover avalon.discover = _original_discover
def uninstall(): # pragma: no cover print("Deregistering global plug-ins..") pyblish.deregister_plugin_path(PUBLISH_PATH) avalon.deregister_plugin_path(avalon.Loader, LOADER_PATH) avalon.deregister_plugin_path(avalon.Loader, DEV_LOADER_PATH) # Restore pyblish-base default plugins pyblish.register_plugin_path(PYBLISH_DEFAULT) self.installed = False
def install(): # pragma: no cover print("Registering global plug-ins..") pyblish.register_plugin_path(PUBLISH_PATH) avalon.register_plugin_path(avalon.InventoryAction, INVENTORY_PATH) avalon.register_plugin_path(avalon.Loader, LOADER_PATH) avalon.register_plugin_path(avalon.Loader, DEV_LOADER_PATH) # Remove pyblish-base default plugins pyblish.deregister_plugin_path(PYBLISH_DEFAULT) self.installed = True
def uninstall(): log.info("Deregistering Nuke plug-ins..") pyblish.deregister_plugin_path(PUBLISH_PATH) avalon.deregister_plugin_path(avalon.Loader, LOAD_PATH) avalon.deregister_plugin_path(avalon.Creator, CREATE_PATH) pyblish.deregister_callback("instanceToggled", on_pyblish_instance_toggled) # reset data from templates api.reset_data_from_templates()
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(): # pragma: no cover from . import menu # uninstall pipeline menu menu.uninstall() # uninstall pipeline plugins pyblish.deregister_plugin_path(PUBLISH_PATH) avalon.deregister_plugin_path(avalon.Loader, LOAD_PATH) avalon.deregister_plugin_path(avalon.Creator, CREATE_PATH) self.installed = False
def uninstall(): '''Uninstalling host's integration ''' log.info("Deregistering Nuke plug-ins..") pyblish.deregister_plugin_path(PUBLISH_PATH) avalon.deregister_plugin_path(avalon.Loader, LOAD_PATH) avalon.deregister_plugin_path(avalon.Creator, CREATE_PATH) pyblish.deregister_callback("instanceToggled", on_pyblish_instance_toggled) reload_config() menu.uninstall()
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(): from . import callbacks log.info("Deregistering Nuke plug-ins..") pyblish.deregister_plugin_path(PUBLISH_PATH) avalon.deregister_plugin_path(avalon.Loader, LOAD_PATH) avalon.deregister_plugin_path(avalon.Creator, CREATE_PATH) # remove callbacks log.info("Uninstalling callbacks ... ") nuke.callbacks.removeOnScriptSave(callbacks.on_save) nuke.callbacks.removeOnScriptLoad(callbacks.on_load) nuke.callbacks.removeBeforeRender(callbacks.before_render) menu.uninstall()
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(): pyblish.deregister_plugin_path(PUBLISH_PATH)
def uninstall(): pyblish.deregister_plugin_path(PUBLISH_PATH) avalon.deregister_plugin_path(avalon.Loader, LOAD_PATH) avalon.deregister_plugin_path(avalon.Creator, CREATE_PATH) menu.uninstall()
def uninstall(): """Uninstall Blender configuration for Avalon.""" sys.excepthook = ORIGINAL_EXCEPTHOOK pyblish.deregister_plugin_path(str(PUBLISH_PATH)) avalon.deregister_plugin_path(avalon.Loader, str(LOAD_PATH)) avalon.deregister_plugin_path(avalon.Creator, str(CREATE_PATH))
def uninstall(): """Uninstall Unreal configuration for Avalon.""" pyblish.deregister_plugin_path(str(PUBLISH_PATH)) avalon.deregister_plugin_path(avalon.Loader, str(LOAD_PATH)) avalon.deregister_plugin_path(avalon.Creator, str(CREATE_PATH))
def uninstall(): print("Deregistering global plug-ins..") pyblish.deregister_plugin_path(PUBLISH_PATH) avalon.deregister_plugin_path(avalon.Loader, LOAD_PATH)
def deregister_plugins(): # De-register accompanying plugins plugin_path = os.path.dirname(plugins.__file__) api.deregister_plugin_path(plugin_path) print("pyblish: Deregistered %s" % plugin_path)
def uninstall(): pyblish.deregister_plugin_path(PUBLISH_PATH) # Restore pyblish-base default plugins pyblish.register_plugin_path(PYBLISH_DEFAULT)
def install(): print("Registering global plug-ins..") pyblish.register_plugin_path(PUBLISH_PATH) # Remove pyblish-base default plugins pyblish.deregister_plugin_path(PYBLISH_DEFAULT)
def deregister_plugins(): module_path = sys.modules[__name__].__file__ package_path = os.path.dirname(module_path) plugins_path = os.path.join(package_path, "plugins") api.deregister_plugin_path(plugins_path)
def uninstall(): log.info("Deregistering global plug-ins..") pyblish.deregister_plugin_path(PUBLISH_PATH) avalon.deregister_plugin_path(avalon.Loader, LOAD_PATH) log.info("Global plug-ins unregistred")