Integration of pluggy may open up more options and accommodate the desired functionality. This will require testing to see if pluggy has the desired capabilities of importing local and external plugins into the very bare model framework, but documentation looks promising.
Tentative Action Plan
-Archive the current manual plugin registry and loader logic from plugins/init.py.
-Add pluggy as a dependency.
-Create a hook specifications file in the plugins directory
-Refactor plugins/init.py to initialize a pluggy PluginManager, add hookspecs, and load plugins via entry points.
-Update internal and external plugin registration to accomodate pluggy.
Integration of pluggy may open up more options and accommodate the desired functionality. This will require testing to see if pluggy has the desired capabilities of importing local and external plugins into the very bare model framework, but documentation looks promising.
Tentative Action Plan
-Archive the current manual plugin registry and loader logic from plugins/init.py.
-Add pluggy as a dependency.
-Create a hook specifications file in the plugins directory
-Refactor plugins/init.py to initialize a pluggy PluginManager, add hookspecs, and load plugins via entry points.
-Update internal and external plugin registration to accomodate pluggy.