mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-20 03:36:25 +00:00
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:
parent
b1f15a630a
commit
0264959b9a
@ -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
|
@ -1,5 +1,4 @@
|
||||
README.txt
|
||||
TODO
|
||||
setup.py
|
||||
darcsver/__init__.py
|
||||
darcsver/_version.py
|
@ -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)
|
@ -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,
|
Loading…
Reference in New Issue
Block a user