root / snf-astakos-app / astakos / im / target / oauth2 / _version.py @ 27993be5
History | View | Annotate | Download (438 Bytes)
1 |
# This is the version of this source code.
|
---|---|
2 |
|
3 |
manual_verstr = "1.5"
|
4 |
|
5 |
|
6 |
|
7 |
auto_build_num = "170"
|
8 |
|
9 |
|
10 |
|
11 |
verstr = manual_verstr + "." + auto_build_num
|
12 |
try:
|
13 |
from pyutil.version_class import Version as pyutil_Version |
14 |
__version__ = pyutil_Version(verstr) |
15 |
except (ImportError, ValueError): |
16 |
# Maybe there is no pyutil installed.
|
17 |
from distutils.version import LooseVersion as distutils_Version |
18 |
__version__ = distutils_Version(verstr) |