[Qgis-developer] Version number in plugin path?
Barry Rowlingson
b.rowlingson at lancaster.ac.uk
Tue Nov 4 07:51:32 EST 2008
2008/11/4 Martin Dobias <wonder.sk at gmail.com>:
> So probably a better way would be add a function to plugin's
> __init__.py called e.g. apiVersion() that would state what (minimal)
> version of QGIS the plugin needs. Plugins with apiVersion 1.1 won't be
> loaded in 1.0 but will load in 1.3. And if we break API in QGIS 2.0
> plugin manager will know that any plugins with apiVersion 1.x are
> unsupported.
>
> What do you think, guys?
How do I keep both a 0.11-compatible version and a 1.0-compatible
version of my fnord plugin in the same directory? The folder name has
to be 'fnord' (doesn't it?).
Barry
More information about the Qgis-developer
mailing list