[Qgis-developer] Multi threading and background processing
Martin Dobias
wonder.sk at gmail.com
Fri Nov 22 22:50:26 PST 2013
On Sat, Nov 23, 2013 at 12:52 AM, Tom Moore <moortom at gmail.com> wrote:
> Hi Martin
>
> How does one go about distributing an architecture dependent plugin? I am
> expecting to be developing mine for the windows 64-bit environment. I wont
> have the facilities to prepare packages for other environments, but of
> course others can take the source code and do what they want.
>
> Can I set up a package that windows 64 users can download and click to
> install? Will I need to set up my own repository for this purpose?
You can distribute the python part via the official repository, then
during the plugin start up it could check for the presence of the
binaries - if not found, it would ask the user whether to download the
binaries for their platform (if available) from your website. For
example, Crayfish plugin [1] does that, providing binaries for windows
32-bit / 64-bit.
It is also possible to set up your own repository (a matter of having
one XML file with metadata about the available plugins) and ship
everything packaged - the downside is that users would first need to
manually add your repository to QGIS. With this approach, the downside
is that potential users will not likely discover your plugin (unless
explicitly instructed to add your third-party repository).
[1] https://github.com/lutraconsulting/qgis-crayfish-plugin
Martin
More information about the Qgis-developer
mailing list