mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-18 12:06:08 +00:00
d67d9bd2a4
WA_PLUGIN_PATHS currently contains a list of filesystem paths to scan for plugins. This is appropriate for end-user plugins, but this is problematic for plugins distributed by a 3rd party, such as a plugin installed from PyPI. In those cases, the path to the sources is unknown and typically depends on the specify Python version, local setup etc. What is constant is Python name of the package, e.g. "lisa.wa.plugins". Extend the input allowed in WA_PLUGIN_PATHS by trying to load entries as a Python package name if: * There is no filesystem path with that name * The entry is a "relative path" (from an fs point of view) |
||
---|---|---|
.. | ||
assets/bin | ||
commands | ||
framework | ||
instruments | ||
output_processors | ||
tools/revent | ||
utils | ||
workloads | ||
__init__.py |