From 56b53e86fb0910624c340c806e374f3c6113bf40 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 24 Sep 2018 11:43:35 +0200 Subject: Automatically compile python files --- NEWS | 1 + build.macros.in | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/NEWS b/NEWS index 1ffda0b..28f000d 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,5 @@ - add __brp_mangle_shebangs in order to fix /bin -> /usr/bin & "env foobar" +- automatically compile python files Version 2.35 - 24 September 2018, by Thierry Vignaud diff --git a/build.macros.in b/build.macros.in index e37e157..1db4757 100644 --- a/build.macros.in +++ b/build.macros.in @@ -473,6 +473,10 @@ fi # Should missing buildids terminate a build? %_missing_build_ids_terminate_build 1 +# +## Automatically compile python files +%py_auto_byte_compile 1 + # ## Should python bytecompilation errors terminate a build? %_python_bytecompile_errors_terminate_build 1 -- cgit v1.2.1