18 from logilab.common.modutils import get_module_files |
18 from logilab.common.modutils import get_module_files |
19 from logilab.common.textutils import splitstrip |
19 from logilab.common.textutils import splitstrip |
20 from logilab.common.shellutils import ASK |
20 from logilab.common.shellutils import ASK |
21 from logilab.common.clcommands import register_commands |
21 from logilab.common.clcommands import register_commands |
22 |
22 |
23 from cubicweb import CW_SOFTWARE_ROOT as BASEDIR, BadCommandUsage, underline_title |
23 from cubicweb import CW_SOFTWARE_ROOT as BASEDIR, BadCommandUsage |
24 from cubicweb.__pkginfo__ import version as cubicwebversion |
24 from cubicweb.__pkginfo__ import version as cubicwebversion |
25 from cubicweb.toolsutils import Command, copy_skeleton |
25 from cubicweb.toolsutils import Command, copy_skeleton, underline_title |
26 from cubicweb.web.webconfig import WebConfiguration |
26 from cubicweb.web.webconfig import WebConfiguration |
27 from cubicweb.server.serverconfig import ServerConfiguration |
27 from cubicweb.server.serverconfig import ServerConfiguration |
|
28 |
28 |
29 |
29 class DevCubeConfiguration(ServerConfiguration, WebConfiguration): |
30 class DevCubeConfiguration(ServerConfiguration, WebConfiguration): |
30 """dummy config to get full library schema and entities""" |
31 """dummy config to get full library schema and entities""" |
31 creating = True |
32 creating = True |
32 cubicweb_appobject_path = ServerConfiguration.cubicweb_appobject_path | WebConfiguration.cubicweb_appobject_path |
33 cubicweb_appobject_path = ServerConfiguration.cubicweb_appobject_path | WebConfiguration.cubicweb_appobject_path |