summaryrefslogtreecommitdiffstats
path: root/ipapython
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2014-03-13 14:39:03 +0100
committerPetr Viktorin <pviktori@redhat.com>2014-05-27 12:08:54 +0200
commit7f465e693cd7fceefb284a0b3831504fd2ddbeb4 (patch)
tree344afed5165a89984a4aa5994fe387000fd7ddf4 /ipapython
parent8cde6f0d6e6b43c83f192ff8c1ff6107fa0736aa (diff)
downloadfreeipa-7f465e693cd7fceefb284a0b3831504fd2ddbeb4.tar.gz
freeipa-7f465e693cd7fceefb284a0b3831504fd2ddbeb4.tar.xz
freeipa-7f465e693cd7fceefb284a0b3831504fd2ddbeb4.zip
ipalib.version: Add VENDOR_VERSION
This will allow us to make vendors' lives easier by embedding a vendor tag to installation logs. Part of the work for: https://fedorahosted.org/freeipa/ticket/4219 Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Diffstat (limited to 'ipapython')
-rw-r--r--ipapython/version.py.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/ipapython/version.py.in b/ipapython/version.py.in
index 04cf5f81f..74ee3b31a 100644
--- a/ipapython/version.py.in
+++ b/ipapython/version.py.in
@@ -20,6 +20,9 @@
# The full version including strings
VERSION="__VERSION__"
+# A fuller version including the vendor tag (e.g. 3.3.3-34.fc20)
+VENDOR_VERSION="__VENDOR_VERSION__"
+
# Just the numeric portion of the version so one can do direct numeric
# comparisons to see if the API is compatible.