From ffdeff2b0a3e4696b6ee309f3afd788889ee8280 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Fri, 10 Jun 2022 08:26:57 +0200 Subject: [PATCH] bullet: python byte compile --- mingw-w64-bullet/PKGBUILD | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mingw-w64-bullet/PKGBUILD b/mingw-w64-bullet/PKGBUILD index e62c62e7de..55ba8cb858 100644 --- a/mingw-w64-bullet/PKGBUILD +++ b/mingw-w64-bullet/PKGBUILD @@ -100,6 +100,9 @@ package_python-pybullet() { cd "${srcdir}/build-${MSYSTEM}" DESTDIR="${pkgdir}" cmake --install . --component pybullet + + MSYS2_ARG_CONV_EXCL="-p" python -m compileall \ + -o 0 -o 1 -q -s"${pkgdir}" -p"/" "${pkgdir}${MINGW_PREFIX}/lib/python"* } # template start; name=mingw-w64-splitpkg-wrappers; version=1.0;