mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-21 05:53:12 +00:00
40 lines
1.1 KiB
Python
40 lines
1.1 KiB
Python
"""
|
|
Decentralized storage grid.
|
|
|
|
community web site: U{https://tahoe-lafs.org/}
|
|
"""
|
|
|
|
__all__ = [
|
|
"__version__",
|
|
"full_version",
|
|
"branch",
|
|
"__appname__",
|
|
"__full_version__",
|
|
]
|
|
|
|
__version__ = "unknown"
|
|
try:
|
|
from allmydata._version import __version__
|
|
except ImportError:
|
|
# We're running in a tree that hasn't run update_version, and didn't
|
|
# come with a _version.py, so we don't know what our version is.
|
|
# This should not happen very often.
|
|
pass
|
|
|
|
full_version = "unknown"
|
|
branch = "unknown"
|
|
try:
|
|
from allmydata._version import full_version, branch
|
|
except ImportError:
|
|
# We're running in a tree that hasn't run update_version, and didn't
|
|
# come with a _version.py, so we don't know what our full version or
|
|
# branch is. This should not happen very often.
|
|
pass
|
|
|
|
__appname__ = "tahoe-lafs"
|
|
|
|
# __full_version__ is the one that you ought to use when identifying yourself
|
|
# in the "application" part of the Tahoe versioning scheme:
|
|
# https://tahoe-lafs.org/trac/tahoe-lafs/wiki/Versioning
|
|
__full_version__ = __appname__ + '/' + str(__version__)
|