<div dir="ltr"><div dir="ltr">On Wed, Feb 6, 2019 at 7:28 AM <Christina.Ratcliff@csiro.au> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">






<div>
<font face="Calibri" size="2"><span style="font-size:11pt">
<div>Hi QGIS dev list,</div>
<div> </div>
<div>I have just uploaded a new QGIS 2.18.x plugin called PAT - Precision Agriculture Tools.  It relies on VESPER,  a Windows only bit of software so therefore I went ahead writing a Windows only plugin using QGIS 2.18.x and  the non-QGIS Python dependencies
of rasterio, Fiona, geopandas and our pyprecag package.</div>
<div> </div>
<div>The majority of our users are Windows users and are the likes of Farmers and Ag consultants with no programming experience and very little QGIS experience which also led to the decision of making PAT a Windows only plugin. I have developed a series of
dependency checks based on the Windows environment and create a Windows batchfile that the user can launch to install the Python dependencies correctly for use with QGIS.</div>
<div> </div>
<div>On uploading to the QGIS repository I have been advised by @pcav (see <a href="https://github.com/CSIRO-Precision-Agriculture/PAT_QGIS_Plugin/issues/7" target="_blank">
https://github.com/CSIRO-Precision-Agriculture/PAT_QGIS_Plugin/issues/7</a> ) that PAT must support Linux and OSX operating environments. I have had a look on
<a href="https://plugins.qgis.org/" target="_blank">https://plugins.qgis.org/</a> and I cannot find where this is listed in bullet points under <i>how to add your plugin to this repository</i> as a requirement for the approval of plugins. @pcav advised that I email this list
regarding this issue.</div>
<div> </div>
<div>Is it acceptable to add a line in the metadata.txt file clearly pointing out that this plugin is to be used in Windows only and will it still be approved for the QGIS plugin repository?</div>
<div> </div>
<div>If not what are my options?</div>
<div>Are there any guides on how to best setup and test QGIS plugins for Linux and OSX environments? I only have access to Windows at the moment and I am a novice at Python programming in these other environments. </div>
<div> </div></span></font></div></blockquote><div><br></div><div><br></div><div>Hi Christina, </div><div><br></div><div>I'm not sure if I get your questions right, but one of the best things of Python is that is very portable across different operating systems, if you want to set up a testing environment for your plugins you could start with a Linux Ubuntu 18.04 virtual machine and install QGIS inside it.</div><div><br></div><div><br></div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Alessandro Pasotti<br>w3:   <a href="http://www.itopen.it" target="_blank">www.itopen.it</a></div></div>