parameters: (name, executable_path=None, env=None)
docstring: Find a library or framework using dyld semantics
docstring_summary: Find a library or framework using dyld semantics
docstring_tokens: Find a library or framework using dyld semantics
function: def dyld_find(name, executable_path=None, env=None):
      """
      Find a library or framework using dyld semantics
      """
      name = ensure_utf8(name)
      executable_path = ensure_utf8(executable_path)
      for path in dyld_image_suffix_search(chain(
                  dyld_override_search(name, env),
                  dyld_executable_path_search(name, executable_path),
                  dyld_default_search(name, env),
              ), env):
          if os.path.isfile(path):
              return path
      raise ValueError("dylib %s could not be found" % (name,))
function_tokens: def dyld_find ( name , executable_path = None , env = None ) : name = ensure_utf8 ( name ) executable_path = ensure_utf8 ( executable_path ) for path in dyld_image_suffix_search ( chain ( dyld_override_search ( name , env ) , dyld_executable_path_search ( name , executable_path ) , dyld_default_search ( name , env ) , ) , env ) : if os . path . isfile ( path ) : return path raise ValueError ( "dylib %s could not be found" % ( name , ) )