[QGIS-Developer] QGIS plugin depends on pypi package

John Lindsay jlindsay at uoguelph.ca
Thu Feb 8 16:19:03 PST 2024


Thank you for that. I don't think I would have every found that myself!




Prof. John Lindsay

Dept. of Geography, Environment & Geomatics,

The University of Guelph,

Room 122, Hutt Building,

E-mail: jlindsay at uoguelph.ca

Phone: (519) 824-4120 ext. 56074

Web: https://geg.uoguelph.ca/faculty/lindsay-john

Research page: https://jblindsay.github.io/ghrg/index.html

WhiteboxTools GIS project: https://www.whiteboxgeo.com/

Twitter: https://twitter.com/whiteboxgeo

________________________________
From: Even Rouault <even.rouault at spatialys.com>
Sent: Thursday, February 8, 2024 7:02 PM
To: John Lindsay <jlindsay at uoguelph.ca>; qgis-developer at lists.osgeo.org <qgis-developer at lists.osgeo.org>
Subject: Re: [QGIS-Developer] QGIS plugin depends on pypi package


CAUTION: This email originated from outside of the University of Guelph. Do not click links or open attachments unless you recognize the sender and know the content is safe. If in doubt, forward suspicious emails to IThelp at uoguelph.ca.


Le 09/02/2024 à 00:45, John Lindsay via QGIS-Developer a écrit :
Hello,

I believe that I've solved my earlier issue with my QGIS plugin, which previously relied on a pip package. In order to avoid this dependency, I decided to include the Whitebox Workflows wheel in with my plugin. Unfortunately, however, this has increased the size of my plugin fairly substantially. The issue is that I need to included a wheel for each of the four supported operating systems and each are about 10MB. My plugin zip file is now a little less than 40MB. When I try to upload the new version to the QGIS plugin repo it is telling me that the file is too large. Does anyone know what the maximum size of a plugin zip file is? Thanks.

Presumably 25 MB if I trust https://github.com/qgis/QGIS-Django/blob/master/qgis-app/plugins/validator.py#L20 .


(But in theory, my interpretation of https://plugins.qgis.org/publish/ "Don't include binaries" requirement is that you wouldn't be allowed to include binary wheels.. There seems however to be a discrepancy between that requirement and the actual practice since other plugins do that.)

Even

--
http://www.spatialys.com
My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20240209/0508455e/attachment.htm>


More information about the QGIS-Developer mailing list