[Qgis-developer] Plugin metadata in a text file

Alexander Bruy alexander.bruy at gmail.com
Thu Nov 10 06:07:13 EST 2011


Good addition.

2011/11/9 Martin Dobias <wonder.sk at gmail.com>:
> Metadata in metadata.txt is preferred to the methods in __init__.py -
> if the text file is present, it is used to fetch the values. Backward
> compatibility is preserved - all existing plugins will continue to
> work. From QGIS 2.0 the metadata from __init__.py will not be accepted
> - the metadata.txt file will be required.
>
> Plugin metadata should be in INI file format, recognized by python's
> ConfigParser module and by Qt's QSettings class.
>
> All currently used metadata should be in [general] section. Example use:
>
> [general]
> name=PostGIS manager
> description=Manage your PostGIS database
> version=Version 0.5.15
> icon=icons/postgis_elephant.png
> qgisMinimumVersion=1.0.0

Seems authorName string missed in this example. Is it supported?

-- 
Alexander Bruy


More information about the Qgis-developer mailing list