Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6ab96e4

Browse files
committed
Remove __pycache__ directories correctly on OpenBSD
Closes #13326.
2 parents 03b0819 + bc74ee0 commit 6ab96e4

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Makefile.pre.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1285,8 +1285,8 @@ TAGS::
12851285
# Sanitation targets -- clean leaves libraries, executables and tags
12861286
# files, which clobber removes as well
12871287
pycremoval:
1288+
-find $(srcdir) -depth -name '__pycache__' -exec rm -rf {} ';'
12881289
-find $(srcdir) -name '*.py[co]' -exec rm -f {} ';'
1289-
-find $(srcdir) -name '__pycache__' -exec rmdir {} '+'
12901290

12911291
rmtestturds:
12921292
-rm -f *BAD *GOOD *SKIPPED

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1445,6 +1445,8 @@ Library
14451445
Build
14461446
-----
14471447

1448+
- Issue #13326: Clean __pycache__ directories correctly on OpenBSD.
1449+
14481450
- PEP 393: the configure option --with-wide-unicode is removed.
14491451

14501452
- Issue #12852: Set _XOPEN_SOURCE to 700, instead of 600, to get POSIX 2008

0 commit comments

Comments
 (0)