[Zope-dev] z3c.form 2.0 release

Roger Ineichen dev at projekt01.ch
Tue Dec 9 10:24:41 EST 2008


Hi Brian

> Betreff: Re: [Zope-dev] z3c.form 2.0 release
> 
> On Sun, Dec 07, 2008 at 11:27:01PM -0800, Stephan Richter wrote:
> > On Friday 05 December 2008, Martin Aspeli wrote:
> > > Is there any indication on when we'll see a 2.0 release 
> of z3c.form?
> > >
> > > We need a widget that's not in the 1.9 release, but is on 
> trunk (for 
> > > a list with textline value type), and are wondering 
> whether to roll 
> > > our own or wait for a new z3c.form release.
> > 
> > I am considering the code feature complete. I would like to get 
> > confirmation from people that (a) the z3c.pt integration works well
> 
> I have an issue with this. z3c.pt.compat creates a nasty 
> issue when trying to package it as a Debian package.
> 
> The root cause seems to be that z3c.pt.compat declares z3c.pt 
> as a namespace package. These are defined in the setuptools 
> documentation to be "merely a container for modules and 
> subpackages." [1]. z3c.pt doesn't conform to that as it 
> contains files. This doesn't matter till you try to install 
> it using the --single-version-externally-managed option, at 
> which point you get file conflicts.
> 
> I've been thinking about it a while, and I think the only 
> solution is to rename z3c.pt.compat to z3c.ptcompat, make a 
> new release of that and migrate z3c.form. I'm willing to 
> implement that if there's enough support.
> 
> [1] 
> http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages

I agree
A package should never use another package as it's namespace.
Which means a package can not be both a package and namespace for 
other packages.
Some distribution concept can work with this but others don't.

Malthe are you aware of this? Can you change it?

Regards
Roger Ineichen



More information about the Zope-Dev mailing list