Changeset 79cb38e2


Ignore:
Timestamp:
05/01/2022 11:25:39 AM (2 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/soup3, xry111/xf86-video-removal
Children:
d5fd611
Parents:
19961d11
Message:

docutils: remove /usr/bin/pycache

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/docutils.xml

    r19961d11 r79cb38e2  
    104104done</userinput></screen>
    105105
     106      <!-- FHS 3.0 section 4.4.2:
     107           "There must be no subdirectories in /usr/bin."
     108           But pip maintainers closed this as WONTFIX:
     109           https://github.com/pypa/pip/issues/6906 -->
     110      <para>
     111        To reduce the time needed for loading Python scripts,
     112        <command>pip3 install</command> will compile the scripts with
     113        extension <filename class='extension'>.py</filename> into byte code
     114        and save the result into
     115        <filename class='extension'>.pyc</filename> files in the directory
     116        <filename class='directory'>__pycache__</filename>.
     117        But this package installs <filename class='extension'>.py</filename>
     118        scripts into <filename class='directory'>/usr/bin</filename>.
     119        So the byte code files for them will be installed into
     120        <filename class='directory'>/usr/bin/__pycache__</filename>, which
     121        is not allowed by FHS.  Still as the &root; user, remove this
     122        directory:
     123      </para>
     124
     125<screen role="root"><userinput>rm -rfv /usr/bin/__pycache__</userinput></screen>
    106126    </sect3>
    107127
Note: See TracChangeset for help on using the changeset viewer.