write now it's controllable with PYTHONPYCACHEPREFIX environment variable.
If python interpreter can be configured to look in /var/cache/python3.xx/ (as an example) I think we should do that, and let the compilation occur lazily, and maybe use keywords to delete the cache when the packages are uninstalled.
It's a big job but it will reduce the size the the packages and it will prevent ugly pyc modification detection hacks like I'm seeing with python-pip.
I don't like pyc bytecode files. The pycache directories are ugly and ridiculous.
Since python 3.8, they don't have to be created alongside the code:
https://www.scivision.dev/python-pycache-eliminate/
write now it's controllable with PYTHONPYCACHEPREFIX environment variable.
If python interpreter can be configured to look in /var/cache/python3.xx/ (as an example) I think we should do that, and let the compilation occur lazily, and maybe use keywords to delete the cache when the packages are uninstalled.
It's a big job but it will reduce the size the the packages and it will prevent ugly pyc modification detection hacks like I'm seeing with python-pip.