While most python builds currently include .pyc files, packages which aren't
primarily python don't include pre-compiled files for faster load and
performance. Macros are included for python2 and python3 that by default
compile all .py files in the installdir (which can be overridden).
The qml_cache macro is taken from extra-cmake-modules which is already in
heavy use, but unbundles the macro from the package.
While most python builds currently include .pyc files, packages which aren't primarily python don't include pre-compiled files for faster load and performance. Macros are included for python2 and python3 that by default compile all .py files in the installdir (which can be overridden).
The qml_cache macro is taken from extra-cmake-modules which is already in heavy use, but unbundles the macro from the package.
Signed-off-by: Peter O'Connor peter@solus-project.com