setup.py: fix move to _version.py
This commit is contained in:
parent
248f2dc260
commit
93554c8072
6
setup.py
6
setup.py
|
@ -55,7 +55,7 @@ trove_classifiers=[
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
VERSIONFILE = "src/allmydata/version.py"
|
VERSIONFILE = "src/allmydata/_version.py"
|
||||||
verstr = "unknown"
|
verstr = "unknown"
|
||||||
if os.path.exists(VERSIONFILE):
|
if os.path.exists(VERSIONFILE):
|
||||||
VSRE = re.compile("^verstr = ['\"]([^'\"]*)['\"]", re.M)
|
VSRE = re.compile("^verstr = ['\"]([^'\"]*)['\"]", re.M)
|
||||||
|
@ -64,8 +64,8 @@ if os.path.exists(VERSIONFILE):
|
||||||
if mo:
|
if mo:
|
||||||
verstr = mo.group(1)
|
verstr = mo.group(1)
|
||||||
else:
|
else:
|
||||||
print "unable to find version in version.py"
|
print "unable to find version in src/allmydata/_version.py"
|
||||||
raise RuntimeError("if version.py exists, it must be well-formed")
|
raise RuntimeError("if _version.py exists, it must be well-formed")
|
||||||
|
|
||||||
|
|
||||||
LONG_DESCRIPTION=\
|
LONG_DESCRIPTION=\
|
||||||
|
|
Loading…
Reference in New Issue