<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Hi,<br>
<br>
I created a simple QGIS plugin in order to install non standard
Python modules in QGIS:<br>
<a class="moz-txt-link-freetext" href="https://github.com/bchartier/gecosat-gms-python-modules-installer">https://github.com/bchartier/gecosat-gms-python-modules-installer</a><br>
<br>
It is not supposed to work on any other OS than Windows. I created
it for one a my client which only uses Windows.<br>
<br>
The list of Python modules to be installed is there:<br>
<a class="moz-txt-link-freetext" href="https://github.com/bchartier/gecosat-gms-python-modules-installer/blob/main/gms_install_python_modules/config/requirements.txt">https://github.com/bchartier/gecosat-gms-python-modules-installer/blob/main/gms_install_python_modules/config/requirements.txt</a><br>
<br>
This is experimental. I hope this could help.<br>
<br>
Regards,<br>
<br>
<pre class="moz-signature" cols="72">Benjamin
</pre>
<div class="moz-cite-prefix">Le 15/11/2023 à 21:00,
<a class="moz-txt-link-abbreviated" href="mailto:qgis-developer-request@lists.osgeo.org">qgis-developer-request@lists.osgeo.org</a> a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:mailman.25.1700078402.20732.qgis-developer@lists.osgeo.org">
<pre class="moz-quote-pre" wrap="">----------------------------------------------------------------------
Message: 1
Date: Wed, 15 Nov 2023 09:40:31 +0100
From: Giacomo Titti <a class="moz-txt-link-rfc2396E" href="mailto:giacomotitti@gmail.com"><giacomotitti@gmail.com></a>
To: <a class="moz-txt-link-abbreviated" href="mailto:qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</a>
Subject: [QGIS-Developer] Plugin python library installation
Message-ID:
<a class="moz-txt-link-rfc2396E" href="mailto:CAO7kFnFgR19x221Vg2bz9FpdRd6qJCLX4pXE5b1RHQivCv7MiQ@mail.gmail.com"><CAO7kFnFgR19x221Vg2bz9FpdRd6qJCLX4pXE5b1RHQivCv7MiQ@mail.gmail.com></a>
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: <a class="moz-txt-link-rfc2396E" href="http://lists.osgeo.org/pipermail/qgis-developer/attachments/20231115/b812c594/attachment-0001.htm"><http://lists.osgeo.org/pipermail/qgis-developer/attachments/20231115/b812c594/attachment-0001.htm></a>
</pre>
</blockquote>
</body>
</html>