Little fix to setup.py
authorGianluca <gian@grys.it>
Thu, 24 Jun 2010 20:12:39 +0000 (16:12 -0400)
committerW. Trevor King <wking@drexel.edu>
Thu, 24 Jun 2010 20:12:39 +0000 (16:12 -0400)
I applied Gianluca's patch, but used "revision" in both the Makefile
command for _version.py and setup.py, rather than using "revision_id"
in both places.  With Git, there is no longer a need to distinguish
revision IDs from revision numbers.

setup.py

index ab0a6080407a90b234efc7733be3fe1a592f6585..da1ebad892645ec66899ed0da0a389ad97080b0f 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -3,8 +3,8 @@
 from distutils.core import setup
 from libbe import _version
 
-rev_id = _version.version_info["revision_id"]
-rev_date = rev_id.split("-")[1]
+rev_id = _version.version_info["revision"]
+rev_date = _version.version_info["date"]
 
 setup(
     name='Bugs Everywhere',