setup: version is now set in SAT/VERSION, sat is not imported anymore in setup
This commit is contained in:
parent
9564946ee5
commit
ac954f378d
1 changed files with 31 additions and 7 deletions
|
|
@ -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'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue