[Qgis-developer] Fwd: A pipinstall plugin is possible? First: What's the difference between the the Osgeo4w Shell?

Tim Sutton lists at linfiniti.com
Thu Mar 6 04:18:36 PST 2014


Hi

The only gotcha to this is that different plugins might require different
versions of dependencies. We also toyed around in the past with the idea of
each plugin having its own virtualenv for deps and then linking in the QGIS
provided site_packages dir into that virtualenv too.

Regards

Tim


On Thu, Mar 6, 2014 at 1:56 PM, Tom Kralidis <tomkralidis at gmail.com> wrote:

>
>
> On Thu, 6 Mar 2014, G. Allegri wrote:
>
>  Date: Thu, 6 Mar 2014 02:31:41 -0800
>> From: G. Allegri <giohappy at gmail.com>
>> To: Nathan Woodrow <madmanwoo at gmail.com>
>> Cc: qgis-developer List <qgis-developer at lists.osgeo.org>
>> Subject: Re: [Qgis-developer] Fwd: A pipinstall plugin is possible? First:
>>     What's the difference between the the Osgeo4w Shell?
>>
>>
>>
>>> Windows doesn't ship with any version of Python. Yay Windows!  So we
>>> bundle our own.  I personally don't mind this so much because it's easier
>>> to control the setup if we bundle it.
>>>
>>> The main thing here is just including pip and easy_install in all the
>>> windows installs, standalone and osgeo4w.  Jurgen has told me that
>>> easy_install is included in the 64 bit versions but not 32 bit versions.
>>> Is
>>> that correct Jurgen?
>>>
>>> If pip is included we can easily have plugins tell us what they need and
>>> we can install them.
>>>
>>>
>>
>> +1, this is exactly what I was imaging.
>> A requirements.txt for pip would be all that a dev should write.
>>
>>
> +1, this would be great (we currently manage and bundle deps in MetaSearch
> as a workaround).
>
> - we would have to make sure the requirements file is standardized
>   (others may have different / additional ones, like requirements-dev.txt,
>   pip-requirements.txt, etc.).
>
> - for MetaSearch, the requirements.txt file never makes it to the QGIS
>   runtime, so plugin providers would need to make sure it does
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>



-- 
Tim Sutton - QGIS Project Steering Committee Member
==============================================
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.

Irc: timlinux on #qgis at freenode.net
==============================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140306/51fef8ba/attachment.html>


More information about the Qgis-developer mailing list