From bdab36d02fdcb7e71633ba9a6eafcc3428dc52bf Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Fri, 26 Nov 2021 12:07:05 -0600 Subject: [PATCH] GNUmakefile: clean py2 .pyc files Signed-off-by: Rob Browning Tested-by: Rob Browning --- GNUmakefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/GNUmakefile b/GNUmakefile index 61d4a4c..5c0f725 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -300,5 +300,7 @@ clean: Documentation/clean rm -rf $(clean_paths) .pytest_cache rm -f $(generated_dependencies) find . -name __pycache__ -exec rm -rf {} + + # Remove this *.pyc cleanup once we drop py2 + rm -f lib/bup/*.pyc lib/bup/cmd/*.pyc test/__init__.pyc if test -e test/tmp; then dev/force-delete test/tmp; fi dev/configure-sampledata --clean -- 2.39.2