trac.loader¶
-
trac.loader.load_components(env, extra_path=None, loaders=(<function _load_eggs>, <function _load_py_files>))¶ Load all plugin components found on the given search path.
-
trac.loader.get_plugin_info(env, include_core=False)¶ Return package information about Trac core and installed plugins.
-
trac.loader.load_eggs(entry_point_name)¶ Loader that loads any eggs on the search path and
sys.path.
-
trac.loader.load_py_files()¶ Loader that look for Python source files in the plugins directories, which simply get imported, thereby registering them with the component manager if they define any components.
-
trac.loader.match_plugins_to_frames(plugins, frames)¶ Add a
frame_idxelement to plugin information as returned byget_plugin_info(), containing the index of the highest frame in the list that was located in the plugin.