From c6c42d0b1be2e22ce09163cd5533db8821455337 Mon Sep 17 00:00:00 2001 From: "Niall Douglas (a [underscors] sourceforge {at} nedprod [dot] com)" Date: Fri, 24 Feb 2012 14:35:04 -0500 Subject: [PATCH] Cherrypick a better version string for setup.py from Niall Douglas. WTK: This is a small part of Niall's commit 7f7a7738bcbcfd06a026f2985c1823a4ba5eb55b Author: Niall Douglas ... Date: Tue Feb 21 20:35:28 2012 +0000 Several hacks to make BE compatible with bbfreeze and therefore compilable into a self contained directory I cleaned up his string construction, which was originally version.version()+" ("+rev_date+")" --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index b7fb839..bd45d08 100755 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from distutils.core import setup import os.path -from libbe import _version +from libbe import _version, version rev_id = _version.version_info["revision"] rev_date = _version.version_info["date"] @@ -16,7 +16,7 @@ if os.path.exists(man_path): setup( name='Bugs Everywhere', - version=rev_date, + version='{} ({})'.format(version.version(), rev_date), description='Bugtracker supporting distributed revision control', url='http://bugseverywhere.org/', packages=['libbe', -- 2.26.2