Hi,

I created a simple QGIS plugin in order to install non standard Python modules in QGIS:
https://github.com/bchartier/gecosat-gms-python-modules-installer

It is not supposed to work on any other OS than Windows. I created it for one a my client which only uses Windows.

The list of Python modules to be installed is there:
https://github.com/bchartier/gecosat-gms-python-modules-installer/blob/main/gms_install_python_modules/config/requirements.txt

This is experimental. I hope this could help.

Regards,

Benjamin

Le 15/11/2023 à 21:00, qgis-developer-requ...@lists.osgeo.org a écrit :
----------------------------------------------------------------------

Message: 1
Date: Wed, 15 Nov 2023 09:40:31 +0100
From: Giacomo Titti<giacomoti...@gmail.com>
To:qgis-developer@lists.osgeo.org
Subject: [QGIS-Developer] Plugin python library installation
Message-ID:
        <cao7kfnfgr19x221vg2bz9fpdrd6qjclx4pxe5b1rhqivcv7...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi all,
I would install python libraries when the plugin that I'm developing Is
installed.
I read something about the possibility to list the required libraries in
the metadati.txt but I don't think there Is not an installer already
available in QGIS for the libraries, Am I correct? Is there any way to do
so? Has someone a code example for a solution?
I'm trying to run a subprocess to install libraries via PIP but I think It
Is not the proper way to do so.
Thanks
Best

Giacomo
-------------- next part --------------
An HTML attachment was scrubbed...
URL:<http://lists.osgeo.org/pipermail/qgis-developer/attachments/20231115/b812c594/attachment-0001.htm>
_______________________________________________
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

Reply via email to