Hi python experts, With python3.10 and USE=-test I still get the test/ dir installed with these numbers: $ find /usr/lib/python3.10/test/ | wc -l 3503 $ du -sh /usr/lib/python3.10/test 69M /usr/lib/python3.10/test Especially on small systems, e.g. on sd-cards, but also for repeated backups this is quite something. I wonder if installing python without test (USE=-test) could avoid installing the test files. Thanks.
That's your standard Python install. Some packages actually use (as in, import) these test files (usually for their own test suites but not always).
You can do INSTALL_MASK="/usr/lib/python3.??/test" or similar in /etc/portage/make.conf.
(In reply to Sam James from comment #2) > You can do INSTALL_MASK="/usr/lib/python3.??/test" or similar in > /etc/portage/make.conf. I wasn't aware of that at all. It didn't work with the ?? wildcards here but without it worked. I'll see whether python & friends will continue to work normally. Thanks a lot