Completely rewritten plugin loader to accept absolute modules, or single file paths
This commit is contained in:
parent
86cc29ee84
commit
6d464349b7
2 changed files with 90 additions and 129 deletions
|
|
@ -1,3 +1,3 @@
|
|||
__all__ = ['search_plugin_dirs', 'find_plugins', 'load_plugin', 'PluginMount', 'MicroscopePlugin']
|
||||
__all__ = ['module_from_file', 'load_plugin_class', 'load_plugin_module', 'class_from_map', 'PluginMount', 'MicroscopePlugin']
|
||||
|
||||
from .loader import search_plugin_dirs, find_plugins, load_plugin, PluginMount, MicroscopePlugin
|
||||
from .loader import module_from_file, load_plugin_class, load_plugin_module, class_from_map, PluginMount, MicroscopePlugin
|
||||
Loading…
Add table
Add a link
Reference in a new issue