[QGIS-Developer] QGIS plugin depends on pypi package

Tim Sutton tim at kartoza.com
Sun Feb 11 09:42:06 PST 2024


Hi (writing offlist here)

If you coordinate with me, it is also possible for me to manually add your
plugin to the repo to bypass the size limit. I prefer not to do these
manual things as general practice - I don't want to become responsible for
rolling out plugin authors updates.

Regards

Tim

On Fri, Feb 9, 2024 at 12:19 AM John Lindsay via QGIS-Developer <
qgis-developer at lists.osgeo.org> wrote:

> 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.
>
> _______________________________________________
> 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
>


-- 
------------------------------------------------------------------------------------------
​

Tim Sutton
Kartoza Co-Founder
Visit http://kartoza.com to find out about open source:
 * Desktop GIS programming services
 * Geospatial web development
* GIS Training
* Consulting Services
Tim is a member of the QGIS Project Steering Committee
-------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20240211/4eb34c9b/attachment.htm>


More information about the QGIS-Developer mailing list