From: Daira Hopwood Date: Fri, 21 Nov 2014 05:00:05 +0000 (+0000) Subject: setup.py: look for a tag named after APPNAME, not necessarily "allmydata-tahoe".... X-Git-Tag: allmydata-tahoe-1.10.1a1~105^2 X-Git-Url: https://git.rkrishnan.org/pf/content/something?a=commitdiff_plain;h=e1a3a2001f37ce4225fb0f600c7eb30d9a061e06;p=tahoe-lafs%2Ftahoe-lafs.git setup.py: look for a tag named after APPNAME, not necessarily "allmydata-tahoe". refs #1146 Signed-off-by: Daira Hopwood --- diff --git a/setup.py b/setup.py index 83f8b75c..0693e634 100644 --- a/setup.py +++ b/setup.py @@ -366,7 +366,8 @@ Warning: no version information found. This may cause tests to fail. """) def try_from_git(self): - versions = versions_from_git("allmydata-tahoe-") + # If we change APPNAME, the release tag names should also change from then on. + versions = versions_from_git(APPNAME + '-') if versions: f = open(VERSION_PY_FILENAME, "wb") f.write(GIT_VERSION_BODY %