diff --git a/general/prog/docutils.xml b/general/prog/docutils.xml index eb87673330..c9e13d3b31 100644 --- a/general/prog/docutils.xml +++ b/general/prog/docutils.xml @@ -103,6 +103,26 @@ for f in /usr/bin/rst*.py; do ln -svf $(basename $f) /usr/bin/$(basename $f .py) done + + + To reduce the time needed for loading Python scripts, + pip3 install will compile the scripts with + extension .py into byte code + and save the result into + .pyc files in the directory + __pycache__. + But this package installs .py + scripts into /usr/bin. + So the byte code files for them will be installed into + /usr/bin/__pycache__, which + is not allowed by FHS. Still as the &root; user, remove this + directory: + + +rm -rfv /usr/bin/__pycache__