[Rpm-maint] [rpm-software-management/rpm] Provide a way to opt out from automagic Python bytecompilation (#434)

Miro Hrončok notifications at github.com
Tue Apr 24 09:48:33 UTC 2018


One can now use `%?disable_automagic_pybytecompile` to opt out from automagic Python bytecompilation outside of `/usr/lib(64)?/pythonX.Y`.

One can also use `%?enable_automagic_pybytecompile` to explicitly opt in, even tough this is currently still the default.

Automagic Python bytecompilation of files outside of Python's own directories (`/usr/lib(64)?/pythonX.Y`) with `/usr/bin/python` is error prone. For context, see this Fedora change [1], it describes all the problems and provides a longer explanation about why we are doing this.

[1]: https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/434

-- Commit Summary --

  * Provide a way to opt out from automagic Python bytecompilation

-- File Changes --

    M platform.in (10)
    M scripts/brp-python-bytecompile (10)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/434.patch
https://github.com/rpm-software-management/rpm/pull/434.diff

-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180424/4cb74fbd/attachment.html>


More information about the Rpm-maint mailing list