Flatpak and __pycache__

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

 



Hi,

I'm slowly working on reviving the Finnish spell-checking stack. When
working on the libvoikko package, I noticed the Python module now has
this in the file list:

%if ! 0%{?flatpak}
%{python3_sitelib}/__pycache__/*
%endif

Git blame takes me to this commit:
https://src.fedoraproject.org/rpms/libvoikko/c/e1b9941462b82f208b814fc2f6e7f369bcda11a0?branch=master

Apparently Flatpak could not handle __pycache__ stuff about six months ago.

According to the packaging guidelines I should be using something like

%pycached %{python3_sitelib}/%{name}.py

This macro is defined in /usr/lib/rpm/macros.d/macros.python3 and it
seems like it does not take the Flatpak issue into account.
Should I just leave those lines as they are? Should the %pycached
macro be improved?


Ville-Pekka Vainio
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[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