Mercurial > libervia-backend
comparison sat/core/constants.py @ 2571:4aca060075b7
setup: version is now set in SAT/VERSION, sat is not imported anymore in setup
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 05 Apr 2018 10:41:08 +0200 |
parents | ea106dfa2145 |
children | bf1b12a8f597 |
comparison
equal
deleted
inserted
replaced
2570:2ac37dfc408b | 2571:4aca060075b7 |
---|---|
20 try: | 20 try: |
21 from xdg import BaseDirectory | 21 from xdg import BaseDirectory |
22 from os.path import expanduser, realpath | 22 from os.path import expanduser, realpath |
23 except ImportError: | 23 except ImportError: |
24 BaseDirectory = None | 24 BaseDirectory = None |
25 import sat | |
25 | 26 |
26 | 27 |
27 class Const(object): | 28 class Const(object): |
28 | 29 |
29 ## Application ## | 30 ## Application ## |
30 APP_NAME = u'Salut à Toi' | 31 APP_NAME = u'Salut à Toi' |
31 APP_NAME_SHORT = u'SàT' | 32 APP_NAME_SHORT = u'SàT' |
32 APP_NAME_FILE = u'sat' | 33 APP_NAME_FILE = u'sat' |
33 APP_NAME_FULL = u'{name_short} ({name})'.format(name_short=APP_NAME_SHORT, | 34 APP_NAME_FULL = u'{name_short} ({name})'.format(name_short=APP_NAME_SHORT, |
34 name=APP_NAME) | 35 name=APP_NAME) |
35 APP_VERSION = u'0.7.0D' # Please add 'D' at the end for dev versions | 36 APP_VERSION = sat.__version__ # Please add 'D' at the end of version in sat/VERSION for dev versions |
36 APP_RELEASE_NAME = u'La Commune' | 37 APP_RELEASE_NAME = u'La Commune' |
37 APP_URL = u'https://salut-a-toi.org' | 38 APP_URL = u'https://salut-a-toi.org' |
38 | 39 |
39 | 40 |
40 ## Runtime ## | 41 ## Runtime ## |