Fix possible double import of cubes modules
When cubes using the new layout are imported with 'cubicweb_<cube>' and with
'cubes.<cube>', the same module is imported twice.
Handle this by adding 'cubes.<cube>' to sys.modules when importing from
'cubicweb_<cube>'.
Move load_module() to a sub class _CubesLoader to share informations computed
in find_modules().
Don't handle subpackages in _CubesImporter and rely on normal import machinery
instead.
Add a test and use unittest from cubicweb.devtools.testlib which resolve to
unittest2 on PY2 with assertLogs() method.
================
Pyramid Cubicweb
================
Pyramid Cubicweb is an attempt to rebase the CubicWeb framework on pyramid.
It can be used in two different ways:
- Within CubicWeb, through the 'pyramid' cube and the
:ref:`pyramid command <cubicweb-ctl_pyramid>`.
In this mode, the Pyramid CubicWeb replaces some parts of
CubicWeb and make the pyramid api available to the cubes.
- Within a pyramid application, it provides easy access to a CubicWeb
instance and registry.
Narrative Documentation
=======================
.. toctree::
:maxdepth: 2
quickstart
ctl
settings
auth
profiling
Api Documentation
=================
.. toctree::
:maxdepth: 2
:glob:
../../api/pyramid