view src/__init__.py @ 905:09b0a968a36a

installation (setup): fixed OSError when pyjsbuild is not found
author Goffi <goffi@goffi.org>
date Wed, 13 Jul 2016 22:43:05 +0200
parents 5cefc6ab302f
children
line wrap: on
line source

try:
    from common.constants import Const as C
except ImportError:
    pass # import doesn't work at this stage with pyjamas
else:
    __version__ = C.APP_VERSION