2010-06-04 04:41:46 +00:00
|
|
|
|
2010-09-21 07:30:46 +00:00
|
|
|
# This is the version of this tree, as created by setup.py darcsver from the darcs patch
|
2010-06-04 04:41:46 +00:00
|
|
|
# information: the main version number is taken from the most recent release
|
|
|
|
# tag. If some patches have been added since the last release, this will have a
|
|
|
|
# -NN "build number" suffix, or else a -rNN "revision number" suffix. Please see
|
|
|
|
# pyutil.version_class for a description of what the different fields mean.
|
|
|
|
|
2010-09-21 07:30:46 +00:00
|
|
|
__pkgname__ = "darcsver"
|
2010-11-14 08:26:20 +00:00
|
|
|
verstr = "1.7.1"
|
2010-06-04 04:41:46 +00:00
|
|
|
try:
|
|
|
|
from pyutil.version_class import Version as pyutil_Version
|
|
|
|
__version__ = pyutil_Version(verstr)
|
|
|
|
except (ImportError, ValueError):
|
|
|
|
# Maybe there is no pyutil installed, or this may be an older version of
|
|
|
|
# pyutil.version_class which does not support SVN-alike revision numbers.
|
|
|
|
from distutils.version import LooseVersion as distutils_Version
|
|
|
|
__version__ = distutils_Version(verstr)
|