[Grok-dev] Re: Namespace packages tutorial with grok?

Martijn Faassen faassen at startifact.com
Thu Jun 5 08:54:37 EDT 2008


Danny Navarro wrote:
> It would be nice if grokproject could automatically generate the 
> namespace package if project names contains a dot:
> 
> $ grokproject pdisco.app 
> 
> This tries to create a 'pdiscoapp' package. I would like 'pdisco' as a 
> namespace package and 'app' as a normal package.

There was some brief discussion about this topic at the Grokkerdam 
sprint. I believe the conclusion then was that this is hard to do with 
paster; you'd need two different templates to do this. Of course it 
shouldn't be an insurmountable task for grokproject to take the right 
template in case of a single name in the dotted name package.

Maurits, Tim? Any comments?

Regards,

Martijn



More information about the Grok-dev mailing list