def test(): yield find_exe("py.test", argprefix="pytest").produce(":pytest") yield shell("{pytest} tests").use(":pytest")
def find_dc(names=COMPILER_NAMES, dirs=COMPILER_DIRS, produce=True): ret = find_exe(*names, dirs=dirs, argprefix='dc').produce(':d/dc') if produce: ret.produce(':d/dc') return ret
def find(produce=True): ret = find_exe('sphinx-build', argprefix='sphinx_build') if produce: ret.produce(':sphinx/sphinx_build') return ret