annotate src/__init__.py @ 1858:06e13ae616cf

tools (utils): improved repository version detection: - getRepositoryData has 2 new option: is_path to give absolute path instead of module name, and save_dir_path to save the repository data in a pickled dictionnary - if "hg" executable doesn't work, a .hg_data dictionnary is checked if present in module root path
author Goffi <goffi@goffi.org>
date Sun, 28 Feb 2016 13:42:31 +0100
parents 8bfbf5cb0e28
children 1128feb54180
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1470
8bfbf5cb0e28 core: moved __version__ to __init__.py, so we can check version by doing "import sat;print(sat.__version__)"
Goffi <goffi@goffi.org>
parents: 224
diff changeset
1 from core.constants import Const as C
8bfbf5cb0e28 core: moved __version__ to __init__.py, so we can check version by doing "import sat;print(sat.__version__)"
Goffi <goffi@goffi.org>
parents: 224
diff changeset
2
8bfbf5cb0e28 core: moved __version__ to __init__.py, so we can check version by doing "import sat;print(sat.__version__)"
Goffi <goffi@goffi.org>
parents: 224
diff changeset
3 __version__ = C.APP_VERSION