I don't think so. Since all plugins goes through approval mechanism, I think it is not unsafe. Rather increase the plugin user base. Even if we want to not allow this .In that case, We should have mechanism by which QGIS itself does installation of external dependencies based on approved plugin's metadata. It will ease the life of plugin developers for sure.
Shiva Thanks & Regards Shiva Reddy K. Scientist/Engineer 'SD' Indian Institute of Remote Sensing, Indian Space Research Organisation Department of Space 4-Kalidas Road Dehradun mobile: 8791806093 On Tue, Jul 10, 2018 at 4:17 AM Nyall Dawson <nyall.daw...@gmail.com> wrote: > On Sat, 7 Jul 2018 at 16:10, shiva reddy <kotish...@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 >
_______________________________________________ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer