Re: Packages with compiled python files outside of /usr/lib*/python8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx/message/4HCZMZSGOR6QEOGYFETPSY6OKZIOTCHY/




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux