Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE] Allow plugin metadata to be in metadata.txt
Until now plugins' metadata were always retrieved from __init__.py by calling python methods. Reading metadata from a text file has the advantage of not requiring to load the plugin code and can be done by plugin repository. 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. 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
- Loading branch information