plugins should be able to add dependencies INSTALLED_APPS
When a plugins has a dependency to a pypi package, e.g. graphene-django
, this could be easily installed along using an entry in setup.cfg. This works well at installation time. But at django server start, "graphene_django"
should be included in INSTALLED_APPS
.
As PluginManager.find_plugins()
just adds the apps themselves to the list, this is a problem. It should add the plugin's dependency to the list too, ideally in the right dependency order.