From e9ab580474aa1c7beba2774c4c99050479534066 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Mon, 24 Oct 2011 10:47:43 -0400 Subject: [PATCH] BF: pruned stuff python compiles during testing --- debian/rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/rules b/debian/rules index c92acf7b..e2748c31 100755 --- a/debian/rules +++ b/debian/rules @@ -17,4 +17,7 @@ ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) python$$buildver $$MDPPATH/mdp/test/run_tests.py $$MDPPATH/mdp \ $$MDPPATH/bimdp; \ done + : # Prune compiled code which could have been generated during testing + /usr/bin/find -iname __pycache__ -print0 -o -iname \*.pyc -print0 \ + | xargs -r -0 rm -fr endif