]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blob - setuptools_darcs-1.2.12.egg/setuptools_darcs/_version.py
78d58b295e552db9b4520175e5704f77fb712b15
[tahoe-lafs/tahoe-lafs.git] / setuptools_darcs-1.2.12.egg / setuptools_darcs / _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 verstr = "1.2.12"
9 try:
10     from pyutil.version_class import Version as pyutil_Version
11     __version__ = pyutil_Version(verstr)
12 except (ImportError, ValueError):
13     # Maybe there is no pyutil installed, or this may be an older version of
14     # pyutil.version_class which does not support SVN-alike revision numbers.
15     from distutils.version import LooseVersion as distutils_Version
16     __version__ = distutils_Version(verstr)