Bug#1049462: dpkg-source: Ignore __pycache__ by default (was: Re: __pycache__ directories)
Package: dpkg
Severity: wishlist
X-Debbugs-Cc: Michael Biebl <biebl@debian.org>, debian-devel@lists.debian.org
On Mon, 2023-08-14 at 22:09 +0200, Michael Biebl wrote:
> I received a couple of bug reports against packages I (co) maintain
> regarding this issue and having a quick look, quite a few fail due to
> python scripts being run during the build and creating a __pycache__
> directory.
dpkg-source already ignores various paths for the diff when building
source packages, for example ".git", ".svn", "CVS", "*~", ...
Maybe $diff_ignore_default_regex should just be extended to include
"__pycache__" as well and these would be non-issues.
Ansgar
Reply to: