[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 13:03:57 UTC 2018
> Why not just add an additional test for an executable bit on a \*.py file instead of attempting detection of within tree compilation?
What does this has to do with executable bits? You need to bytecompile files that are imported, not the files that are executed. The problem with current approach is this assumption:
* if it is called `*.py`, it has to be bytecompiled with `/usr/bin/python`
That assumption is just wrong, as we explain in the Fedora change.
--
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-383922376
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180424/d80355f1/attachment.html>
More information about the Rpm-maint
mailing list