python-testpath: bytecompile
This commit is contained in:
@@ -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"*
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user