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.
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)