[XML-SIG] packaging question

Greg Stein gstein@lyra.org
Mon, 24 Jul 2000 13:46:46 -0700


On Mon, Jul 24, 2000 at 02:41:21PM -0600, Bjorn Pettersen wrote:
> "Fred L. Drake, Jr." wrote:
> > 
> >   A few weeks ago we discussed the relationship between the xml
> > package added to the standard library and PyXML.  One person stated
> > that the biggest requirement was that both be able to use the "xml"
> > name for the top-level package.  There were at least two proposals
> > about how to achieve that.
> >   Before I dig into the mechanics, I want to be sure people agree that
> > this is the "right thing" to do.  What are the objections to using two
> > different names ("xml" and "xmlextra") instead of one?
> 
> I think it was mostly a convenience argument. When an item moves from
> xmlextra to xml no user code would have to change if they had the same
> name. (In addition, everyone who is currently using PyXML from xml.---
> wouldn't have to change their code.)

I agree with Bjorn.

I've posted a description of how to accomplish this "melding" of the
packages in a flexible manner. It allows us to ship the "xml" package in the
Python distro with whatever content we choose, and then allow PyXML to place
stuff into the xml namespace at its discretion. i.e. we can independently
update/release PyXML and its xml-insertion.

It seems there was some partial consensus on the approach that I outlined.
There wasn't "enough" in my mind, though, so I haven't attempted to code up
a concrete implementation.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/