equal
deleted
inserted
replaced
4 import sys |
4 import sys |
5 import os.path as osp |
5 import os.path as osp |
6 |
6 |
7 import cubicweb |
7 import cubicweb |
8 # remove 'mx' modules imported by cubicweb |
8 # remove 'mx' modules imported by cubicweb |
9 for modname in sys.modules.keys(): |
9 for modname in sys.modules.keys(): |
10 if modname.startswith('mx'): |
10 if modname.startswith('mx'): |
11 sys.modules.pop(modname) |
11 sys.modules.pop(modname) |
12 |
12 |
13 # this is where mx should get imported from |
13 # this is where mx should get imported from |
14 mxpath = osp.abspath(osp.join(osp.dirname(cubicweb.__file__), 'embedded')) |
14 mxpath = osp.abspath(osp.join(osp.dirname(cubicweb.__file__), 'embedded')) |