tox.ini: remove compiled libs on Windows too
also remove no longer needed, commented out lines
This commit is contained in:
parent
4f45e72d0d
commit
54ba4bc001
6
tox.ini
6
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
|
||||
|
|
Loading…
Reference in New Issue