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+")"
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"]
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',