Re: [QGIS-Developer] Plugin version number

2019-09-13 Thread Raymond Nijssen
Tnx Borys! :) On 13-09-19 10:49, Borys Jurgiel wrote: Dnia piątek, 13 września 2019 10:05:14 CEST Paul Wittle pisze: > Hi, > > It is possible to see the plugin version number (from the metadata file) > when you open the manage plugins window and select a plugin. > > Is it possible

Re: [QGIS-Developer] Plugin version number

2019-09-13 Thread Raymond Nijssen
Hi Paul, I do not think it is supported now, but a workaround could be: - Add a variable 'version' with the plugin version number to your plugin class. - Then do: qgis.utils.plugins['your plugin name'].version You could even write a version() function that reads the version number from

Re: [QGIS-Developer] Plugin version number

2019-09-13 Thread Borys Jurgiel
Dnia piątek, 13 września 2019 10:05:14 CEST Paul Wittle pisze: > Hi, > > It is possible to see the plugin version number (from the metadata file) > when you open the manage plugins window and select a plugin. > > Is it possible to retrieve this version number using Python in the plugin > itself?

[QGIS-Developer] Plugin version number

2019-09-13 Thread Paul Wittle
Hi, It is possible to see the plugin version number (from the metadata file) when you open the manage plugins window and select a plugin. Is it possible to retrieve this version number using Python in the plugin itself? It's not really very important but I just want to be able to include it