code: def glymur_config():
      
      handles = (load_openjpeg_library(x) for x in ['openjp2', 'openjpeg'])
      handles = tuple(handles)
  
      if all(handle is None for handle in handles):
          msg = "Neither the openjp2 nor the openjpeg library could be loaded.  "
          warnings.warn(msg)
      return handles
docs: Try to ascertain locations of openjp2, openjpeg libraries.
  
      Returns
      -------
      tuple
          tuple of library handles