diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2018-09-24 11:43:35 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2018-09-24 11:52:29 +0200 |
commit | 56b53e86fb0910624c340c806e374f3c6113bf40 (patch) | |
tree | ab4807d6e74021398ff8ff19de07d8c285ad35d2 | |
parent | 191d8f04b4c826e0c5fbe509f150ef7198aaf715 (diff) | |
download | rpm-setup-56b53e86fb0910624c340c806e374f3c6113bf40.tar rpm-setup-56b53e86fb0910624c340c806e374f3c6113bf40.tar.gz rpm-setup-56b53e86fb0910624c340c806e374f3c6113bf40.tar.bz2 rpm-setup-56b53e86fb0910624c340c806e374f3c6113bf40.tar.xz rpm-setup-56b53e86fb0910624c340c806e374f3c6113bf40.zip |
Automatically compile python files
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | build.macros.in | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -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 @@ -474,6 +474,10 @@ fi %_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 ## Should python bytecompilation compile outisde python specific directories? |