]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blob - darcsver-1.7.2.egg/darcsver/_version.py
fa9c1060191a9fde358e98b158e89df085a85599
[tahoe-lafs/tahoe-lafs.git] / darcsver-1.7.2.egg / darcsver / _version.py
1
2 # This is the version of this tree, as created by setup.py darcsver from the darcs patch
3 # information: the main version number is taken from the most recent release
4 # tag. If some patches have been added since the last release, this will have a
5 # -NN "build number" suffix, or else a -rNN "revision number" suffix. Please see
6 # pyutil.version_class for a description of what the different fields mean.
7
8 __pkgname__ = "darcsver"
9 verstr = "1.7.2"
10 try:
11     from pyutil.version_class import Version as pyutil_Version
12     __version__ = pyutil_Version(verstr)
13 except (ImportError, ValueError):
14     # Maybe there is no pyutil installed, or this may be an older version of
15     # pyutil.version_class which does not support SVN-alike revision numbers.
16     from distutils.version import LooseVersion as distutils_Version
17     __version__ = distutils_Version(verstr)