code: def get_install_names(filename):
      
      lines = _cmd_out_err(['otool', '-L', filename])
      if not _line0_says_object(lines[0], filename):
          return ()
      names = tuple(parse_install_name(line)[0] for line in lines[1:])
      install_id = get_install_id(filename)
      if not install_id is None:
          assert names[0] == install_id
          return names[1:]
      return names
docs: Return install names from library named in `filename`
  
      Returns tuple of install names
  
      tuple will be empty if no install names, or if this is not an object file.
  
      Parameters
      ----------
      filename : str
          filename of library
  
      Returns
      -------
      install_names : tuple
          tuple of install names for library `filename`