summaryrefslogtreecommitdiffstats
path: root/debian/patches/python-clean-up-the-__pycache__-directories.patch
blob: c52a049dd00118eda66e2d801c0fcfdd0e3a1377 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From: =?utf-8?q?Ferenc_W=C3=A1gner?= <wferi@debian.org>
Date: Tue, 26 Sep 2023 18:10:08 +0200
Subject: python: clean up the __pycache__ directories

---
 python/pacemaker/Makefile.am | 3 +++
 python/tests/Makefile.am     | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/python/pacemaker/Makefile.am b/python/pacemaker/Makefile.am
index df9cc46..06322d7 100644
--- a/python/pacemaker/Makefile.am
+++ b/python/pacemaker/Makefile.am
@@ -15,3 +15,6 @@ pkgpython_PYTHON = __init__.py 		\
 nodist_pkgpython_PYTHON = buildoptions.py
 
 SUBDIRS = _cts
+
+clean-local:
+	rm -rf __pycache__
diff --git a/python/tests/Makefile.am b/python/tests/Makefile.am
index 219812c..e6d303c 100644
--- a/python/tests/Makefile.am
+++ b/python/tests/Makefile.am
@@ -11,3 +11,6 @@ MAINTAINERCLEANFILES    = Makefile.in
 
 EXTRA_DIST = $(wildcard test_*) \
 	     __init__.py
+
+clean-local:
+	rm -rf __pycache__