diff --git a/contrib/release/removepyc.sh b/contrib/release/removepyc.sh index 1c66363b..5df59126 100755 --- a/contrib/release/removepyc.sh +++ b/contrib/release/removepyc.sh @@ -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" diff --git a/tox.ini b/tox.ini index c9ef7364..75e2eb26 100644 --- a/tox.ini +++ b/tox.ini @@ -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