tox.ini: remove compiled libs on Windows too
also remove no longer needed, commented out lines
This commit is contained in:
parent
b0bca98ee0
commit
1ef75953bd
6
tox.ini
6
tox.ini
|
@ -19,22 +19,18 @@ deps =
|
||||||
py{27,33,34,35,36}: biopython
|
py{27,33,34,35,36}: biopython
|
||||||
whitelist_externals =
|
whitelist_externals =
|
||||||
mv
|
mv
|
||||||
; cat
|
|
||||||
; find
|
|
||||||
commands =
|
commands =
|
||||||
; Notes:
|
; Notes:
|
||||||
; * run tests both with and without the C extensions (including Cython)
|
; * run tests both with and without the C extensions (including Cython)
|
||||||
; * if running with coverage, merge the coverage run results from both runs
|
; * 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
|
; * for Python 2.6 use the unit2 script since -m unittest2 doesn't work
|
||||||
; (but when running with coverage, coverage run -m unittest2 works)
|
; (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-without_coverage: {envbindir}/unit2 discover tests -t {toxinidir}
|
||||||
py26-with_coverage: {envbindir}/coverage run --source=fuzzysearch -m unittest2 discover tests
|
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}-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
|
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
|
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-without_coverage: {envbindir}/unit2 discover tests -t {toxinidir}
|
||||||
py26-with_coverage: {envbindir}/coverage run --source=fuzzysearch -m unittest2 discover tests
|
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}-without_coverage: {envpython} -m unittest discover tests
|
||||||
|
|
Loading…
Reference in New Issue