diff options
author | bertagaz <bertagaz@ptitcanardnoir.org> | 2011-06-14 15:26:19 +0200 |
---|---|---|
committer | bertagaz <bertagaz@ptitcanardnoir.org> | 2011-06-14 15:26:19 +0200 |
commit | 30e9097985656920f01a72efc1088caa2b8d41b3 (patch) | |
tree | bedbdb1aaa484af467e538110ab4c0c95985b6b8 /setuptools_darcs-1.2.11-py2.6.egg/setuptools_darcs/_version.py |
Imported Upstream version 0.5.29upstream/0.5.29
Diffstat (limited to 'setuptools_darcs-1.2.11-py2.6.egg/setuptools_darcs/_version.py')
-rw-r--r-- | setuptools_darcs-1.2.11-py2.6.egg/setuptools_darcs/_version.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/setuptools_darcs-1.2.11-py2.6.egg/setuptools_darcs/_version.py b/setuptools_darcs-1.2.11-py2.6.egg/setuptools_darcs/_version.py new file mode 100644 index 0000000..a3a73be --- /dev/null +++ b/setuptools_darcs-1.2.11-py2.6.egg/setuptools_darcs/_version.py @@ -0,0 +1,16 @@ + +# This is the version of this tree, as created by setup.py darcsver from the Darcs patch +# 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. + +verstr = "1.2.11" +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) |