cubicweb/cwconfig.py
changeset 11457 d404fd8499dd
parent 11211 34c903b883ab
child 11458 db2d627e379e
--- a/cubicweb/cwconfig.py	Wed Jul 06 17:46:39 2016 +0200
+++ b/cubicweb/cwconfig.py	Wed Aug 31 11:53:21 2016 +0200
@@ -605,6 +605,8 @@
     @classmethod
     def cls_adjust_sys_path(cls):
         """update python path if necessary"""
+        from cubicweb import _CubesImporter
+        _CubesImporter.install()
         cubes_parent_dir = normpath(join(cls.CUBES_DIR, '..'))
         if not cubes_parent_dir in sys.path:
             sys.path.insert(0, cubes_parent_dir)