From b2ccc754f46191da235ad375c9af0c6dee777d9d Mon Sep 17 00:00:00 2001 From: Jeppe Klitgaard Date: Sat, 11 Apr 2015 20:00:16 +0200 Subject: [PATCH] clean now also removed __pycache__ and .pyc and -pyo --- bin/clean | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/clean b/bin/clean index b3051dc..3c1c095 100755 --- a/bin/clean +++ b/bin/clean @@ -3,4 +3,8 @@ rm -v coverage.xml rm -v MANIFEST rm -v nosetests.xml -rm -rv build \ No newline at end of file +rm -rv build + +find . -type f -name '*.py[co]' -delete +find . -path '*/__pycache__/*' -delete +find . -type d -name "__pycache__" -delete