The plugin data optionally contains the following fields:
-
depends_on This is a list a Gramps plugins that the plugin depends on. They will be installed along with the plugin.
-
requires_mod This is a list of external python modules required by the plugin. By setting a configuration option, Gramps will automatically attempt to install them using PyPI.
-
requires_exe This is a list of external executables required by the plugin. They cannot be automatically installed, but Gramps can display them in a list of requirements.
-
requires_gi This is a list of GObject introspection modules required by the plugin together with the required versions. Like the executables, they cannot be automatically downloaded.
The requires_mod, requires_mod and requires_mod fields are new in v5.2. I have already updated our third-party repository accordingly.
The advantages of the new approach is that requirements can be specified by the addon developer and used for automatically loading modules and for reporting missing prerequisites.