Dear Victor, Many thanks for your help, I'll include my libs in the plugin then.
Best, Guido > Il giorno 07 ott 2015, alle ore 17:50, Victor Olaya <[email protected]> ha > scritto: > > At the moment, you have to ship them with your plugin, in the plugin > zip file. If the lib uses native code, you will need to include > binaries for all OSs that you want to support, and the corresponding > mechanism to pick one or the other. > > As an example, you can see how it is done in this plugin > > https://github.com/boundlessgeo/qgis-geoserver-plugin/blob/master/src/geoserverexplorer/__init__.py > > <https://github.com/boundlessgeo/qgis-geoserver-plugin/blob/master/src/geoserverexplorer/__init__.py> > > Dependencies are stored in a folder called "ext-libs", which is added > to the python path by the plugin > > Notice that that folder is not in the repo, there is a paver task to > fetch the dependencies from PyPi > > Notice also that QGIS has its folder with python libs > > https://github.com/qgis/QGIS/tree/master/python/ext-libs > <https://github.com/qgis/QGIS/tree/master/python/ext-libs> > > Make sure that the libs you require are not already in there, > > Hope this helps > > 2015-10-07 17:33 GMT+02:00 Guido Barbaglia <[email protected]>: >> Dear all, >> >> I'm writing my first plugin for QGIS, which is basically a wrapper for >> some Python libraries I developed some times ago and that are available on >> the PyPi repository. How can I include these dependencies in my plugin? How >> can I configure the plugin so that it installs the dependencies when the >> user download the plugin itself? >> >> Many thanks for your help, best >> Guido >> -- >> Guido Barbaglia >> http://geobricks.org/ >> >> _______________________________________________ >> Qgis-developer mailing list >> [email protected] <mailto:[email protected]> >> http://lists.osgeo.org/mailman/listinfo/qgis-developer >> <http://lists.osgeo.org/mailman/listinfo/qgis-developer>
_______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
