[Rpm-maint] [rpm-software-management/rpm] Should __pycache__ always be marked as %artifact? (Discussion #3856)
Miro Hrončok
notifications at github.com
Fri Jul 4 10:45:11 UTC 2025
Hello.
I just noticed the python3-rpm package in Fedora has:
```
%files -n python3-%{name}
%{python3_sitearch}/rpm-%{rpmver}*.egg-info
%{python3_sitearch}/rpm/__init__.py
%{python3_sitearch}/rpm/transaction.py
%{python3_sitearch}/rpm/_rpm.so
%artifact %{python3_sitearch}/rpm/__pycache__/ <-- THIS
```
The Python bytecode cache (`__pycache__`) is marked as `%artifact`. Shoudl we recommend that for all Python packages and do it form our automated maxcros (e.g. `%pycached` or `%pyproject_save_files`)?
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/3856
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/repo-discussions/3856 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250704/e8743c4a/attachment.htm>
More information about the Rpm-maint
mailing list