tahoe-lafs/darcsver-1.7.0.egg/darcsver/__init__.py
Zooko O'Whielacronx 680e33ef91 setup: upgrade bundled darcsver from 1.6.3 to 1.7.0
ref #1259, we're going to use its 'versionfiles' setup() keyword argument to specify where to write the version file.
Remember, we have to bundle darcsver to work-around http://bitbucket.org/tarek/distribute/issue/55/revision-control-plugin-automatically-installed-as-a-build-dependency-is-not-present-when-another-build-dependency-is-being
2010-11-13 23:39:54 -08:00

9 lines
272 B
Python

__version__ = "unknown"
try:
from _version import __version__
except ImportError:
# We're running in a tree that hasn't run darcsver, and didn't come with a
# _version.py, so we don't know what our version is. This should not happen
# very often.
pass