core: moved __version__ to __init__.py, so we can check version by doing "import sat;print(sat.__version__)"

This commit is contained in:
Goffi 2015-08-18 09:01:18 +02:00
commit 35d39b450f
2 changed files with 3 additions and 3 deletions

View file

@ -0,0 +1,3 @@
from core.constants import Const as C
__version__ = C.APP_VERSION

View file

@ -48,9 +48,6 @@ except ImportError:
from ordereddict import OrderedDict
__version__ = C.APP_VERSION
class SAT(service.Service):
@property