Jachym: fwiw request is included in master and release-2_16 branches 
respectively [1].

Having said this, a more streamlined approach to plugin management in QGIS
would make things much easier for long term support across distributions.

..Tom

[1] https://github.com/qgis/QGIS/tree/master/python/ext-libs

On Thu, 22 Sep 2016, Luigi Pirelli wrote:

Date: Thu, 22 Sep 2016 17:01:51 +0200
From: Luigi Pirelli <lui...@gmail.com>
To: Jachym Cepicky <jachym.cepi...@gmail.com>
Cc: "qgis-developer@lists.osgeo.org" <qgis-developer@lists.osgeo.org>
Subject: Re: [Qgis-developer] standard way for custom plugin python
    dependencies

why not package critical/missing dep with the plugin itself? import
from local egg only if not present in the installation.
Luigi Pirelli

**************************************************************************************************
* Boundless QGIS Support/Development: lpirelli AT boundlessgeo DOT com
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
* GitHub: https://github.com/luipir
* Mastering QGIS:
https://www.packtpub.com/application-development/mastering-qgis
**************************************************************************************************


On 22 September 2016 at 14:08, Jachym Cepicky <jachym.cepi...@gmail.com> 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@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to