setup: version is now set in SAT/VERSION, sat is not imported anymore in setup

This commit is contained in:
Goffi 2018-04-05 10:41:08 +02:00
commit ac954f378d

View file

@ -22,6 +22,7 @@ try:
from os.path import expanduser, realpath
except ImportError:
BaseDirectory = None
import sat
class Const(object):
@ -32,7 +33,7 @@ class Const(object):
APP_NAME_FILE = u'sat'
APP_NAME_FULL = u'{name_short} ({name})'.format(name_short=APP_NAME_SHORT,
name=APP_NAME)
APP_VERSION = u'0.7.0D' # Please add 'D' at the end for dev versions
APP_VERSION = sat.__version__ # Please add 'D' at the end of version in sat/VERSION for dev versions
APP_RELEASE_NAME = u'La Commune'
APP_URL = u'https://salut-a-toi.org'