or we can manage a - light way (light in the plugin point of view) with simple requirement.txt (or whatever) or a - robust and idependent way managing virtualenv or a - kaos way mixing :)
Luigi Pirelli On 6 March 2014 13:18, Tim Sutton <li...@linfiniti.com> wrote: > 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 <tomkrali...@gmail.com>wrote: > >> >> >> On Thu, 6 Mar 2014, G. Allegri wrote: >> >> Date: Thu, 6 Mar 2014 02:31:41 -0800 >>> From: G. Allegri <gioha...@gmail.com> >>> To: Nathan Woodrow <madman...@gmail.com> >>> Cc: qgis-developer List <qgis-developer@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@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 > ============================================== > > _______________________________________________ > Qgis-developer mailing list > Qgis-developer@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-developer >
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer