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

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

 



On 18.6.2018 11:45, Milan Crha wrote:
On Mon, 2018-06-18 at 11:19 +0200, Miro Hrončok wrote:
What Python are those files for actually? Are they imported or
executed?

	Hi,
I do not speak pythonish, I'm sorry, but from what I recall they had
been added as some sort of unit tests. I think they are meant to be
executed only, but I do not know how they are used by 3rd-parties, if
at all. The corresponding .test files execute them using `behave`:

   [Test]
   Type=session-exclusive
   Exec=behave /usr/libexec/evolution/installed-tests -t view_shortcuts -k -f html -o view_shortcuts.html -f plain

Hope it helps.

1. behave is Python 2 (you might want to check if it works with behave-3 and switch to Python 3 if it works)

2. behave does not create pyc files, so IMHO you do not need to bytecompile those with any Python
--
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/COXWVDZMY3IOUWI5ALCXAI26HUGIM7EW/




[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