[QGIS-Developer] External python package dependency in plugins

Nyall Dawson nyall.dawson at gmail.com
Mon Jul 9 15:47:34 PDT 2018


On Sat, 7 Jul 2018 at 16:10, shiva reddy <kotishiva at gmail.com> wrote:
>
> Hello,
> I tried to install automatically during my pluign (QRealTime) installation by calling:
>
>  subprocess.call(['python','-m','install','pyxform','--user'])
>
> It worked many times in windows and it fails sometime.
> It don't work in OS X and I have not tested in ubuntu.
>
> What is the best practice for such situation?


Just taking a step back here -- is this something we actually want to
support/allow in plugins?

Seems to me like it opens the door for all sorts of security issues.

Nyall


More information about the QGIS-Developer mailing list