[Qgis-developer] Multi threading and background processing

Tim Sutton lists at linfiniti.com
Fri Nov 22 13:16:21 PST 2013


Hi


On Fri, Nov 22, 2013 at 7:52 PM, 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.
>
>
The most common way of doing this is to get it into the core distribution
of QGIS but that requires:

* the plugin to have a general usefulness to a wide range of users
* and undertaking that the author will continue to maintain it.

If that is not an option, rolling your own QGIS package with a build of
your plugin is another common way of doing it. See [1] for notes on how to
do that.

The last option would be to prepare a dll / so for each platform you wish
to support and create an installer to copy it into the QGIS plugins
directory.

Regards

Tim

[1]
http://linfiniti.com/2011/05/building-custom-qgis-installers-for-windows/



> 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?
>
> Thx,
>
> Tom
>
>
> On Fri, Nov 22, 2013 at 2:33 AM, Martin Dobias <wonder.sk at gmail.com>wrote:
>
>> On Thu, Nov 21, 2013 at 6:00 AM, Tom Moore <moortom at gmail.com> wrote:
>> >
>> > As you can imagine from my newbie questions I'm not a python guy.
>>  While I
>> > really like a lot of the modern mechanisms in python I have never been
>> able
>> > to look at a python script without being puzzled by the retro/hipster
>> nature
>> > of using whitespace as syntax.  As someone who once lined up fortran
>> > statements on punch cards you will have to pry whitespace indifferent
>> > languages from my cold hunt-n-peck fingers. Anyway, I'm expecting to use
>> > python for the ui and glue code, and do all of the number crunching in
>> a C
>> > module.  Horses for courses eh?
>>
>> Let me note one more thing here: if you think of writing number
>> crunching in C, things will get more complicated: you will need to
>> compile and ship the binaries somehow - the plugin repository does not
>> accept plugins with architecture dependent binaries. Maybe try to have
>> a look at numpy module, it's fairly common for fast array/matrix
>> operations in python.
>>
>> Martin
>>
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>



-- 
Tim Sutton - QGIS Project Steering Committee Member
==============================================
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.

Irc: timlinux on #qgis at freenode.net
==============================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20131122/c0ed0835/attachment.html>


More information about the Qgis-developer mailing list