mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 13:07:56 +00:00
setup: if the string '--reporter=bwverbose-coverage' appears on sys.argv then you need trialcoverage
This commit is contained in:
parent
35efdf04ca
commit
18922ac618
5
setup.py
5
setup.py
@ -133,6 +133,11 @@ setup_requires.extend(['setuptools_trial >= 0.5'])
|
|||||||
# to setup_requires. http://pypi.python.org/pypi/setuptools_darcs
|
# to setup_requires. http://pypi.python.org/pypi/setuptools_darcs
|
||||||
setup_requires.append('setuptools_darcs >= 1.1.0')
|
setup_requires.append('setuptools_darcs >= 1.1.0')
|
||||||
|
|
||||||
|
# trialcoverage is required if you want the "trial" unit test runner to have a
|
||||||
|
# "--reporter=bwverbose-coverage" option which produces code-coverage results.
|
||||||
|
if "--reporter=bwverbose-coverage" in sys.argv:
|
||||||
|
setup_requires.append('trialcoverage >= 0.3.10')
|
||||||
|
|
||||||
# stdeb is required to produce Debian files with the "sdist_dsc" command.
|
# stdeb is required to produce Debian files with the "sdist_dsc" command.
|
||||||
if "sdist_dsc" in sys.argv:
|
if "sdist_dsc" in sys.argv:
|
||||||
setup_requires.append('stdeb >= 0.3')
|
setup_requires.append('stdeb >= 0.3')
|
||||||
|
Loading…
Reference in New Issue
Block a user