Thanks to all for your answers, it's great to get good advice quickly.
It's more clear to me now how to proceed, I'll give it a try !
Julie.
Le 02/12/2016 à 08:16, Victor Olaya a écrit :
If you convert your plugin functionality into Processing scripts, then
it's very easy to distribute them, no need create a plugin manually
and add them to it.
Just create your scripts and make sure they are available in the
toolbox. Then, in the "Scripts" group of the toolbox, you will find a
tool called "Create script collection plugin". Just select the scripts
that you want to distribute, and it will package them into a plugin
that you can share in the plugins server. Installing the plugin will
add the scripts to the toolbox.
Hope this helps
2016-12-01 22:25 GMT+01:00 Nyall Dawson <[email protected]>:
On 29 Nov 2016 1:22 AM, "Julie Pierson" <[email protected]> wrote:
Hi all,
I would like to answer this issue for my plugin :
https://github.com/UMR-PASSAGES/DissolveWithStats/issues/2, and turn it into
a processing subplugin. I read this :
https://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/processing.html,
but I'm still not sure how to go on.
I'm guessing that my script will be accessible from the Scripts/Tools part
of the processing toolbox. But I don't understand :
- where these scripts are hosted, and how do I submit it
- where do I start ? Should I just make a new version of my plugin without
the GUI ?
Have a look at
https://github.com/jdugge/BufferByPercentage/commit/c52d161b40abf6bbd45e7ec421eb311623592e90
That's a similar commit which added a processing module to an existing
plugin.
The hardest(?) part is refactoring your plugin to split all the logic out
from any existing gui. Buts that's a good thing to do in any case.
Nyall
Sorry if the answers are obvious !
Thanks,
Julie.
_______________________________________________
Qgis-developer mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
Qgis-developer mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
Qgis-developer mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer