python-testpath: bytecompile

This commit is contained in:
Christoph Reiter
2022-06-10 08:33:33 +02:00
parent 4cb1c6dc86
commit 41d27de7e6

View File

@@ -43,4 +43,7 @@ package() {
cd "${srcdir}/${_realname}-${pkgver}"
install -Dm644 LICENSE "${pkgdir}${MINGW_PREFIX}/share/licenses/python-${_realname}/LICENSE"
MSYS2_ARG_CONV_EXCL="-p" python -m compileall \
-o 0 -o 1 -q -s"${pkgdir}" -p"/" "${pkgdir}${MINGW_PREFIX}/lib/python"*
}