[QGIS-Developer] plugins: pip dependecies

Alessandro Pasotti apasotti at gmail.com
Fri Jan 26 02:38:07 PST 2024


Hi Martin,

plugin dependencies are for plugin dependent on other plugins, it has
nothing to do with python packages.

See:
https://docs.qgis.org/3.28/en/docs/pyqgis_developer_cookbook/plugins/plugins.html#metadata-txt



On Fri, Jan 26, 2024 at 11:29 AM Martin Landa via QGIS-Developer <
qgis-developer at lists.osgeo.org> wrote:

> Hi,
>
> I would like to ask regarding QGIS plugin publishing which has pip
> dependency.
>
> In metadata.txt I added:
>
> plugin_dependencies=smoderp2d
>
> When trying to install a plugin from ZIP created by pb_tool unfortunately
> smoderp2d dependency is not installed. The Plugin Dependencies Manager is
> shown, the dialog just hangs with Action -> Fix manually. No error message
> is displayed.
>
> [image: image.png]
>
> How can I fix this issue? Thanks in advance for your help. Regards, Martin
>
> PS: I tried to install smodep2d manually by pip and it worked fine.
>
> --
> Martin Landa
> http://geo.fsv.cvut.cz/gwiki/Landa
> http://gismentors.cz/mentors/landa
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>


-- 
Alessandro Pasotti
QCooperative:  www.qcooperative.net
ItOpen:   www.itopen.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20240126/fb4dd6d4/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 43589 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20240126/fb4dd6d4/attachment-0001.png>


More information about the QGIS-Developer mailing list