Mercurial > hg > hybrid-music-recommender-using-content-based-and-social-information
comparison Code/python_oauth2-master/oauth2/_version.py @ 21:e68dbee1f6db
Modified code
New datasets
Updated report
author | Paulo Chiliguano <p.e.chiilguano@se14.qmul.ac.uk> |
---|---|
date | Tue, 11 Aug 2015 10:50:36 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
20:1dbd24575d44 | 21:e68dbee1f6db |
---|---|
1 # This is the version of this source code. | |
2 | |
3 manual_verstr = "1.5.1" | |
4 | |
5 | |
6 | |
7 auto_build_num = "212" | |
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) |