[Qgis-developer] standard way for custom plugin python dependencies
Matthias Kuhn
matthias at opengis.ch
Thu Sep 22 05:13:54 PDT 2016
Hi Jachym,
Unfortunately not. This has been discussed and is something that will
certainly be added at some point but so far nobody implemented it
(basically because of its cross-platform nature I think).
Your possibilities are:
* Document and print nice warnings
* Ship the dependency packaged with your plugin
* Fix it by adding dependency management in QGIS
Cheers
Matthias
On 09/22/2016 02:08 PM, Jachym Cepicky wrote:
> Hi all,
>
> we've developed an (python) plugin for QGIS, which is somehow using
> (among others) nice "requests" python library. We use it the standard way
>
> import requests
>
> But when we distributed the plugin to other computers, it turned out,
> they do not have it installed.
>
> Is there any standard way, how to distribute dependencies along with
> python plugin? Something in metadata.txt? Some requirements file?
>
> Thanks
>
> Jachym
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
More information about the Qgis-developer
mailing list