install-qa-check.d: Add check for missing Python bytecode (.pyc)
authorMichał Górny <mgorny@gentoo.org>
Wed, 23 Oct 2019 10:13:30 +0000 (12:13 +0200)
committerMichał Górny <mgorny@gentoo.org>
Fri, 1 Nov 2019 13:15:59 +0000 (14:15 +0100)
commite882a48879d732a777ff10cd80063d2e3de3b8da
treee9bfd317475d65a943c0724ab8f89751609f49fa
parent3a8167567e4f7f938da9c34ca0a02ea2eac8de65
install-qa-check.d: Add check for missing Python bytecode (.pyc)

Add a check that detects Python modules that were not compiled after
installation.  To limit false positives, this is only done on modules
installed to site-packages.

Early testing of this check made it possible to detect a bug
in python_optimize.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
metadata/install-qa-check.d/60python-pyc [new file with mode: 0644]