[Qgis-developer] plugin requiring guiqwt

William Kyngesburye woklist at kyngchaos.com
Mon Jul 29 07:13:25 PDT 2013


I see that guiqwt is based on PyQwt.  This is not good, since PyQwt does not support the latest PyQt, and probably never will.

On Jul 29, 2013, at 9:04 AM, Alessandro Pasotti wrote:

> 2013/7/29 Mauro Alberti <alberti.m65 at gmail.com>
> Hi all,
> I've created a tool in Python, that requires guiqwt for the interactive graphical definition of spline parameters. I would like to include it into a plugin of mine (for Qgis 1.8), that currently does not require any non-standard Python module.
> I don't know what could be the best way, mainly from the user point-of view, for managing the absence of this module in QGIS Python.
> 
> Thanks for any suggestion,
> 
> mauro
> 
> 
> Hi,
> 
> I would suggest you to check for the presence of the module when the plugin starts and give the user instructions to install it.
> 
> If the module is small, you could also consider to include it in the plugin distribution and add the folder to sys.path to allow inclusion.
> 
> 
> 
> -- 
> Alessandro Pasotti
> w3:   www.itopen.it
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"We are at war with them. Neither in hatred nor revenge and with no particular pleasure I shall kill every ___ I can until the war is over. That is my duty."

"Don't you even hate 'em?"

"What good would it do if I did? If all the many millions of people of the allied nations devoted an entire year exclusively to hating the ____ it wouldn't kill one ___ nor shorten the war one day."

<Ha, ha> "And it might give 'em all stomach ulcers."

- Tarzan, on war



More information about the Qgis-developer mailing list