[Cubicweb] CWEP 0004 - Cubes as distributions

Nicolas Chauvat nicolas.chauvat at logilab.fr
Thu Oct 23 12:09:58 CEST 2014


On Thu, Oct 23, 2014 at 11:04:04AM +0200, Denis Laxalde wrote:
> So, if I understand correctly, we could keep the cubes "private" but
> should remove the "cubes" namespace and add the "cubes" directory to
> PYTHONPATH.

Meaning we could "import blog" from a python shell instead of
"import cubes.blog". Feels like going back in time to when relative
imports was the norm. I happen to not dislike the clarity of a
java-inspired "import org.cubicweb.cubes.blog".

-- 
Nicolas Chauvat

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



More information about the Cubicweb mailing list