File: python-clean-up-the-__pycache__-directories.patch

package info (click to toggle)
pacemaker 3.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 68,576 kB
  • sloc: xml: 160,564; ansic: 143,744; python: 5,670; sh: 2,969; makefile: 2,426
file content (31 lines) | stat: -rw-r--r-- 891 bytes parent folder | download | duplicates (2)
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 27e6d68..c973dfb 100644
--- a/python/pacemaker/Makefile.am
+++ b/python/pacemaker/Makefile.am
@@ -16,3 +16,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 b0d46c0..c384180 100644
--- a/python/tests/Makefile.am
+++ b/python/tests/Makefile.am
@@ -11,3 +11,6 @@ include $(top_srcdir)/mk/common.mk
 
 EXTRA_DIST = $(wildcard test_*) \
 	     __init__.py
+
+clean-local:
+	rm -rf __pycache__