code: def setup(console=False, port=None, menu=True):
      
  
      if self._has_been_setup:
          teardown()
  
      register_plugins()
      register_host()
  
      if menu:
          add_to_filemenu()
          self._has_menu = True
  
      self._has_been_setup = True
      print("pyblish: Loaded successfully.")
docs: Setup integration
  
      Registers Pyblish for Maya plug-ins and appends an item to the File-menu
  
      Arguments:
          console (bool): Display console with GUI
          port (int, optional): Port from which to start looking for an
              available port to connect with Pyblish QML, default
              provided by Pyblish Integration.