mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-18 10:46:24 +00:00
build-deb.py: run darcsver early, otherwise we get the wrong version later on
This commit is contained in:
parent
7dc17aa078
commit
9dd27bc7ee
@ -41,7 +41,7 @@ def run(*cmd, **kwargs):
|
||||
# the very first time you run setup.py, it will download+build darcsver and
|
||||
# whatnot, emitting noise to stdout. Run it once (and throw away that junk)
|
||||
# to avoid treating that noise as the package name.
|
||||
run(PYTHON, "setup.py", "--name")
|
||||
run(PYTHON, "setup.py", "darcsver")
|
||||
|
||||
NAME = get_output(PYTHON, "setup.py", "--name").strip()
|
||||
VERSION = get_output(PYTHON, "setup.py", "--version").strip()
|
||||
|
Loading…
Reference in New Issue
Block a user