1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-02 03:12:34 +01:00

pluginloader: Replaced extension loader with WA3 plugin loader

In the process removed modules and boot_strap.py. Also Renamed extensions Plugins.

Louie is now monkey patched rather than containing a modified version in external
This commit is contained in:
Sebastian Goscik
2016-03-17 15:23:39 +00:00
parent a4a428c9ae
commit 1e6763ee9b
68 changed files with 1715 additions and 2917 deletions

View File

@@ -54,7 +54,7 @@ class StreamlineResourceGetter(ResourceGetter):
priority = GetterPriority.environment + 1 # run before standard enviroment resolvers.
dependencies_directory = os.path.join(settings.dependencies_directory, 'streamline')
old_dependencies_directory = os.path.join(settings.environment_root, 'streamline') # backwards compatibility
#old_dependencies_directory = os.path.join(settings.environment_root, 'streamline') # backwards compatibility
def get(self, resource, **kwargs):
if resource.owner.name != 'streamline':
@@ -62,9 +62,9 @@ class StreamlineResourceGetter(ResourceGetter):
test_path = _f(os.path.join(self.dependencies_directory, resource.path))
if os.path.isfile(test_path):
return test_path
test_path = _f(os.path.join(self.old_dependencies_directory, resource.path))
if os.path.isfile(test_path):
return test_path
#test_path = _f(os.path.join(self.old_dependencies_directory, resource.path))
#if os.path.isfile(test_path):
# return test_path
def _instantiate(resolver):