equal
deleted
inserted
replaced
34 from os import path as osp |
34 from os import path as osp |
35 |
35 |
36 path = __file__ |
36 path = __file__ |
37 path = osp.dirname(path) # ./doc |
37 path = osp.dirname(path) # ./doc |
38 path = osp.dirname(path) # ./ |
38 path = osp.dirname(path) # ./ |
39 path = osp.join(path, '__pkginfo__.py') # ./__pkginfo__.py |
39 path = osp.join(path, 'cubicweb', '__pkginfo__.py') # ./__pkginfo__.py |
40 cw = {} |
40 cw = {} |
41 execfile(path, {}, cw) |
41 with open(path) as f: |
|
42 exec(f.read(), cw) |
42 |
43 |
43 # If your extensions are in another directory, add it here. If the directory |
44 # If your extensions are in another directory, add it here. If the directory |
44 # is relative to the documentation root, use os.path.abspath to make it |
45 # is relative to the documentation root, use os.path.abspath to make it |
45 # absolute, like shown here. |
46 # absolute, like shown here. |
46 #sys.path.append(os.path.abspath('some/directory')) |
47 #sys.path.append(os.path.abspath('some/directory')) |