annotate Code/python_oauth2-master/build/lib/oauth2/_version.py @ 47:b0186d4a4496
tip
Move 7Digital dataset to Downloads
author |
Paulo Chiliguano <p.e.chiliguano@se14.qmul.ac.uk> |
date |
Sat, 09 Jul 2022 00:50:43 -0500 |
parents |
e68dbee1f6db |
children |
|
rev |
line source |
p@21
|
1 # This is the version of this source code.
|
p@21
|
2
|
p@21
|
3 manual_verstr = "1.5.1"
|
p@21
|
4
|
p@21
|
5
|
p@21
|
6
|
p@21
|
7 auto_build_num = "212"
|
p@21
|
8
|
p@21
|
9
|
p@21
|
10
|
p@21
|
11 verstr = manual_verstr + "." + auto_build_num
|
p@21
|
12 try:
|
p@21
|
13 from pyutil.version_class import Version as pyutil_Version
|
p@21
|
14 __version__ = pyutil_Version(verstr)
|
p@21
|
15 except (ImportError, ValueError):
|
p@21
|
16 # Maybe there is no pyutil installed.
|
p@21
|
17 from distutils.version import LooseVersion as distutils_Version
|
p@21
|
18 __version__ = distutils_Version(verstr)
|