[Qgis-developer] various issues

Alexander Bruy alexander.bruy at gmail.com
Tue Apr 20 14:23:45 EDT 2010


On Tue, 20 Apr 2010 19:56:14 +0200
Richard Duivenvoorde <rdmailings at duif.net> wrote:

> @devs: is there a way in python to get to the plugin-version as defined 
> in __init__.py?

If I understand correctly, you need somethig like this

import sys
sys.path.append( <plugin_dir_name> )
from <plugin_dir_name>.__init__ import version

-- 
Alexander Bruy


More information about the Qgis-developer mailing list