Okay, that's 3 yes votes.. I've had a first attempt at doing this in a branch: http://trac.gispython.org/lab/changeset/1465
I've created stub packages for owslib_wms and owslib_wcs, with owslib (hopefully) acting as a namespace package for both. They each have a setup.py and can be made into eggs. However I'm not 100% sure I've got it right, so please try it out and let me know. Sean - do you have some experience of creating namespace packages? For convenience I've built eggs in the ./eggsrepo/ directory so if you check out the branch you should be able to do. easy_install -U -f <pathto>/eggsrepo/ OWSLib Which will install the OWSLib egg and it's dependencies: OWSLib_WMS and OWSLib_WCS eggs. You should be able to do this as before: >>> from owslib.wms import WebMapService >>> from owslib.wcs import WebCoverageService However if you do: >>> import owslib you get owslib from the OWSLib_WMS egg. Is that correct? I guess it's just where it was imported first? Cheers, Dom On Thursday 15 October 2009 13:00:50 Kralidis,Tom [Ontario] wrote: > > -----Original Message----- > > From: [email protected] > > [mailto:[email protected]] On Behalf Of > > Dominic Lowe > > Sent: Thursday, 15 October 2009 05:32 > > To: [email protected] > > Subject: Re: [Community] New OWSLib interfaces test > > > > On Thursday 15 October 2009 09:55:15 Sean Gillies wrote: > > > On Oct 15, 2009, at 10:45 AM, Dominic Lowe wrote: > > > > On Wednesday 14 October 2009 16:47:20 Kralidis,Tom > > > > [Ontario] wrote: > > > >> I've been bogged down in the last week or so, so I would > > > > say +1 to > > > > > >> moving WFS 2.0 and SOS 1.0.0 to an experimental release > > > > when we cut > > > > > >> a new release. > > > > > > > > Okay, sounds like a plan. > > > > > > I've brought this up before, but didn't get a yes or no: how about > > > making owslib a namespace package? Then owslib.sos could be > > > > released > > > > > separately from owslib.wms (and owslib.core?), when ready > > > > and as needed. > > > > > > Actually this is a good idea... it would simplify the release > > process in the long run. > > > > That's a yes from me. :) > > +1 > > ..Tom _______________________________________________ Community mailing list [email protected] http://lists.gispython.org/mailman/listinfo/community
