import ConfigParser as configparser
from .. import version
-from ..license import short_license
from ..config import Setting
from ..util.pluggable import IsSubclass, construct_odict
+try:
+ from ..license import short_license
+except ImportError, e:
+ import logging
+ logging.warn('Could not load short_license from hooke.license')
+ from .. import __license__
+ def short_license(extra_info, **kwargs):
+ return __license__
+
USER_INTERFACE_MODULES = [
'commandline',