Re: [QGIS-Developer] QgsPluginManagerInterface

2018-07-25 Thread Borys Jurgiel
Hi, QgsPluginManagerInterface is quite limited. Try this instead: from qgis.utils import pluginMetadata pluginMetadata('myPluginName', 'version') For more info see https://github.com/qgis/QGIS/blob/master/python/utils.py#L290 Regards, Borys Dnia środa, 25 lipca 2018 18:30:26 CEST Jorge

[QGIS-Developer] QgsPluginManagerInterface

2018-07-25 Thread Jorge Almerio
Hi devs, I need to get the current version (in metadata.txt) of my plugin from python. I saw that there is a Class to access Metadata, but I did not found any example how to use it. I tried with the code below