mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 04:57:54 +00:00
setup: require darcsver always, and not just when we see the string "darcsver" in sys.argv, because the new aliases hack means that the string might not appear in sys.argv
This commit is contained in:
parent
6bbbb375e1
commit
d549aad339
6
setup.py
6
setup.py
@ -144,11 +144,9 @@ setup_requires = []
|
||||
# setuptools to satisfy that requirement before Nevow's setup.py tried to "import twisted".
|
||||
setup_requires.extend(['Twisted >= 2.4.0', 'setuptools_trial'])
|
||||
|
||||
# darcsver is needed only if you want "./setup.py darcsver" to write a new
|
||||
# version stamp in src/allmydata/_version.py, with a version number derived from
|
||||
# darcs history.
|
||||
# darcsver is needed if you want "./setup.py darcsver" to write a new version stamp in
|
||||
# src/allmydata/_version.py, with a version number derived from darcs history.
|
||||
# http://pypi.python.org/pypi/darcsver
|
||||
if 'darcsver' in sys.argv[1:]:
|
||||
setup_requires.append('darcsver >= 1.1.5')
|
||||
|
||||
# setuptools_trial is needed only if you want "./setup.py trial" to execute the tests.
|
||||
|
Loading…
Reference in New Issue
Block a user