[QGIS-Developer] Additional python modules

Alessandro Pasotti apasotti at gmail.com
Fri Feb 24 07:31:58 PST 2023


Hi,

last time I checked there wasn't, mainly because the PIP API wasn't exposed.

The standard way to go is ask Juergen to add the packages you need to
the QGIS package recipes.


On Fri, Feb 24, 2023 at 4:24 PM Yoann Quenach de Quivillic via
QGIS-Developer <qgis-developer at lists.osgeo.org> wrote:
>
> Hello everyone,
>
> I'm working on a new feature targeting 3.32 to reformat code written in the Python Console Editor : https://github.com/qgis/QGIS/pull/51733. It works great, but it requires additional python packages to be installed (namely black / autopep8 / isort).
>
> Is there a reliable cross platform way we can use to distribute additional python packages alongside QGIS?
>
> I could rewrite my PR to enable this feature only if the required modules are installed, but it seems kind of a shame... An alternative would be, as discussed in (https://github.com/qgis/QGIS/pull/51733#issuecomment-1434646910) to provide the end user a way to dynamically install modules as needed.
>
> Any thoughts?
> Thanks,
>
> --
> Yoann Quenach de Quivillic
> _______________________________________________
> 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


More information about the QGIS-Developer mailing list