Mercurial > hg > hybrid-music-recommender-using-content-based-and-social-information
annotate 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 |
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) |