From: Gianluca Date: Thu, 24 Jun 2010 20:12:39 +0000 (-0400) Subject: Little fix to setup.py X-Git-Tag: 1.0.0~54^2~1 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=36da784b196e2ce60c772e085636e9f2b18844ea;p=be.git Little fix to setup.py 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. --- diff --git a/setup.py b/setup.py index ab0a608..da1ebad 100755 --- 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',