[QGIS-Developer] SIP generated PEP 484 type hints stub files are removed on installation

Lauri Kajan lauri.kajan at gmail.com
Mon May 31 01:38:28 PDT 2021


Hi,

There's an open issue about this. https://github.com/qgis/QGIS/issues/41264
Stub files are not included either on the Osgeo4w install.


Thanks,

Lauri

On Mon, May 31, 2021 at 3:29 AM Alexandre Neto <senhor.neto at gmail.com>
wrote:

> Hi,
>
> On linux, after compiling QGIS, the python file has some *.pyi files
> generated by SIP. They are PEP 484 type stub files, and it seems that they
> are useful for code completion for python bindings (at least on visual code
> studio using pylance).
>
> Nevertheless, they don't seem to be copied in the installation step. Any
> idea why? Is there a place where one can control which files are copied
> over during the installation and which files are ignored?
>
> I would like to propose to keep the pyi file as they are not that big.
>
> Thanks,
>
> Alexandre Neto
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20210531/2a74b03e/attachment.html>


More information about the QGIS-Developer mailing list