On 16.6.2018 02:27, Scott Talbert wrote:
* Set %_python_bytecompile_extra to 0 to disable the automatic
 compilation of the extra python files.
* Manually byte-compile those files which do actually need to be
 compiled.  This is done with the %py_byte_compile macro, which as a
 bonus requires that you specify which python version will be used for
 the compilation.

In a couple of my packages, the python files you are detecting are documentation or sample code.  Do we care in that case?  In fact, maybe it's best those aren't byte-compiled?

Yes, it's best not to bytecompile those at all:

* Set %_python_bytecompile_extra to 0 to disable the automatic compilation of the extra python files. * Do not manually byte-compile those files because they don't actually need to be byte-compiled.

Allowing this is the main point of the change.

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/4HCZMZSGOR6QEOGYFETPSY6OKZIOTCHY/

Reply via email to