From: Brian Warner <warner@lothar.com>
Date: Wed, 12 Sep 2007 23:02:23 +0000 (-0700)
Subject: setup.py: fix move to _version.py
X-Git-Tag: allmydata-tahoe-0.6.0~147
X-Git-Url: https://git.rkrishnan.org/vdrive/%22news.html/statistics?a=commitdiff_plain;h=93554c807248f18cbe4c62e4de18f24a01745d68;p=tahoe-lafs%2Ftahoe-lafs.git

setup.py: fix move to _version.py
---

diff --git a/setup.py b/setup.py
index 87a30257..50aeccb9 100644
--- a/setup.py
+++ b/setup.py
@@ -55,7 +55,7 @@ trove_classifiers=[
     ]
 
 
-VERSIONFILE = "src/allmydata/version.py"
+VERSIONFILE = "src/allmydata/_version.py"
 verstr = "unknown"
 if os.path.exists(VERSIONFILE):
     VSRE = re.compile("^verstr = ['\"]([^'\"]*)['\"]", re.M)
@@ -64,8 +64,8 @@ if os.path.exists(VERSIONFILE):
     if mo:
         verstr = mo.group(1)
     else:
-        print "unable to find version in version.py"
-        raise RuntimeError("if version.py exists, it must be well-formed")
+        print "unable to find version in src/allmydata/_version.py"
+        raise RuntimeError("if _version.py exists, it must be well-formed")
 
 
 LONG_DESCRIPTION=\