It is all explained in 
https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation#How_we_are_changing_it

> For the time being, we **keep the old behavior working**, so the hundreds of 
> packages that implicitly rely on it do not break all at once. However, we 
> will not (automatically) apply it to Python 3, so it will be phased out as 
> packages switch to Python 3.
> 
> A **opt-out mechanism for automatic compilation of files outside of 
> `/usr/lib(64)?/pythonX.Y/` will be provided** (such as 
> `%?disable_automagic_pybytecompile`). Speaking code, this will disable the 
> final part of the brp-python-bytecompile script.
> 
> Guidelines will be adjusted to say the following:
> 
> if you have *.py files outside of the `/usr/lib(64)?/pythonX.Y/`, you MUST 
> disable their automatic compilation, and compile them explicitly by the 
> `%py_byte_compile` macro if and only if the bytecompilation is desired (i.e. 
> it's an importable Python module).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/434#issuecomment-383901604
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to