setup: upgrade bundled version of darcsver from 1.7.1 to 1.7.2 to support the new bbfreeze feature (by, strangely, having darcsver write out unix newlines regardless of what the underlying platform prefers)

This commit is contained in:
Zooko O'Whielacronx 2011-01-20 21:28:38 -08:00
parent b1f15a630a
commit 0264959b9a
13 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,6 @@
Metadata-Version: 1.0
Name: darcsver
Version: 1.7.1
Version: 1.7.2
Summary: generate a version number from darcs history
Home-page: http://tahoe-lafs.org/trac/darcsver
Author: Zooko O'Whielacronx

View File

@ -1,5 +1,4 @@
README.txt
TODO
setup.py
darcsver/__init__.py
darcsver/_version.py

View File

@ -6,7 +6,7 @@
# pyutil.version_class for a description of what the different fields mean.
__pkgname__ = "darcsver"
verstr = "1.7.1"
verstr = "1.7.2"
try:
from pyutil.version_class import Version as pyutil_Version
__version__ = pyutil_Version(verstr)

View File

@ -47,7 +47,7 @@ except (ImportError, ValueError):
'''
def write_version_py(verstr, outfname, EXE_NAME, version_body, pkgname):
f = open(outfname, "wt+")
f = open(outfname, "wb+")
f.write(version_body % {
'versiontool': EXE_NAME,
'pkgversion': verstr,