26 import pickle |
26 import pickle |
27 import glob |
27 import glob |
28 import warnings |
28 import warnings |
29 from hashlib import sha1 # pylint: disable=E0611 |
29 from hashlib import sha1 # pylint: disable=E0611 |
30 from datetime import timedelta |
30 from datetime import timedelta |
31 from os.path import (abspath, join, exists, basename, dirname, normpath, split, |
31 from os.path import (abspath, join, exists, split, isabs, isdir) |
32 isfile, isabs, splitext, isdir, expanduser) |
|
33 from functools import partial |
32 from functools import partial |
34 |
33 |
35 from logilab.common.date import strptime |
34 from logilab.common.date import strptime |
36 from logilab.common.decorators import cached, clear_cache |
35 from logilab.common.decorators import cached, clear_cache |
37 |
36 |
38 from cubicweb import ConfigurationError, ExecutionError, BadConnectionId |
37 from cubicweb import ExecutionError, BadConnectionId |
39 from cubicweb import CW_SOFTWARE_ROOT, schema, cwconfig |
38 from cubicweb import schema, cwconfig |
40 from cubicweb.server.serverconfig import ServerConfiguration |
39 from cubicweb.server.serverconfig import ServerConfiguration |
41 from cubicweb.etwist.twconfig import TwistedConfiguration |
40 from cubicweb.etwist.twconfig import TwistedConfiguration |
42 |
41 |
43 cwconfig.CubicWebConfiguration.cls_adjust_sys_path() |
42 cwconfig.CubicWebConfiguration.cls_adjust_sys_path() |
44 |
43 |