code: def build(client, destination_args):
      
      # Have defined a remote job directory, lets do the setup locally.
      if client.job_directory:
          handler = LocalSetupHandler(client, destination_args)
      else:
          handler = RemoteSetupHandler(client)
      return handler
docs: Build a SetupHandler object for client from destination parameters.