Improve removepyc script

This commit is contained in:
Ask Solem 2011-09-13 19:24:55 +01:00
parent 61b47789f4
commit 92148ac03c
2 changed files with 2 additions and 3 deletions

View File

@ -1,3 +1,3 @@
#!/bin/bash
find "${1:-.}" -name "*.pyc" | xargs rm
find "${1:-.}" -name "*\$py.class" | xargs rm
(cd "{$1:-.}";
find . -name "*.pyc" | xargs rm -- 2>/dev/null) || echo "ok"

View File

@ -28,7 +28,6 @@ commands = {toxinidir}/contrib/release/removepyc.sh {toxinidir}
--with-xunit \
--xunit-file=nosetests.xml
[testenv:py27]
basepython = python2.7
deps = -r{toxinidir}/requirements/default.txt