spinetoolbox.plugin_loader
¶
Contains a minimal plugin loader infrastructure.
author: |
|
---|---|
date: | 11.6.2019 |
Module Contents¶
-
spinetoolbox.plugin_loader.
get_plugins
(subpath)[source]¶ Returns a list of plugin (module) names found in given subpath, relative to plugins main directory. Adds the directory to sys.path if any plugins were found.
Parameters: subpath (src) – look for plugins in this subdirectory of the plugins main dir