From 54ba4bc0019ff07d6c04e088f56ffc0419ab0cf2 Mon Sep 17 00:00:00 2001 From: Tal Einat Date: Thu, 6 Jul 2017 11:06:07 +0300 Subject: [PATCH] tox.ini: remove compiled libs on Windows too also remove no longer needed, commented out lines --- tox.ini | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tox.ini b/tox.ini index 9c5f135..8cd870e 100644 --- a/tox.ini +++ b/tox.ini @@ -19,22 +19,18 @@ deps = py{27,33,34,35,36}: biopython whitelist_externals = mv -; cat -; find commands = ; Notes: ; * run tests both with and without the C extensions (including Cython) ; * if running with coverage, merge the coverage run results from both runs ; * for Python 2.6 use the unit2 script since -m unittest2 doesn't work ; (but when running with coverage, coverage run -m unittest2 works) -; find {envlogdir} -type f -name '*.log' -printf "\n%p\n" -exec cat \{\} \; -; echo "++++++++++++++++++++++++++++++++++++++" py26-without_coverage: {envbindir}/unit2 discover tests -t {toxinidir} py26-with_coverage: {envbindir}/coverage run --source=fuzzysearch -m unittest2 discover tests py{27,32,33,34,35,36}-without_coverage: {envpython} -m unittest discover tests py{27,32,33,34,35,36}-with_coverage: {envbindir}/coverage run --source=fuzzysearch -m unittest discover tests with_coverage: mv .coverage .coverage.with_extensions - {envpython} -c 'import os; [os.remove(os.path.join(d, fn)) for (d, dns, fns) in os.walk(os.path.join(r"{envsitepackagesdir}", "fuzzysearch")) for fn in fns if fn.endswith(".so")]' + {envpython} -c 'import os; [os.remove(os.path.join(d, fn)) for (d, dns, fns) in os.walk(os.path.join(r"{envsitepackagesdir}", "fuzzysearch")) for fn in fns if fn.endswith((".so", ".pyd"))]' py26-without_coverage: {envbindir}/unit2 discover tests -t {toxinidir} py26-with_coverage: {envbindir}/coverage run --source=fuzzysearch -m unittest2 discover tests py{27,32,33,34,35,36}-without_coverage: {envpython} -m unittest discover tests