[Cubicweb] CWEP 0004 - Cubes as distributions

Nicolas Chauvat nicolas.chauvat at logilab.fr
Thu Oct 23 11:02:44 CEST 2014


On Thu, Oct 23, 2014 at 10:51:14AM +0200, Christophe de Vienne wrote:
> >Looking at the debian packages for Mercurial, I see mercurial
> >extensions are put into dist-packages/hgext/ and can be imported
> >individually.
>
> Yes. But IIRC hgext is not a namespace.

$ l /usr/lib/python2.7/dist-packages/hgext/__*py
/usr/lib/python2.7/dist-packages/hgext/__init__.py

Looks like it is.

What is wrong with namespaces by the way?

$ python -c "import this" | grep space
Namespaces are one honking great idea -- let's do more of those!

-- 
Nicolas Chauvat

logilab.fr - services en informatique scientifique et gestion de connaissances  



More information about the Cubicweb mailing list