Changeset 1937fe0 for chapter08


Ignore:
Timestamp:
04/18/2022 03:45:10 AM (2 years ago)
Author:
Thomas Trepl (Moody) <thomas@…>
Branches:
multilib
Children:
644d5e0
Parents:
caf32c8 (diff), 5a2aca5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Automatic merge of trunk into multilib

Location:
chapter08
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • chapter08/chapter08.xml

    rcaf32c8 r1937fe0  
    6565  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libffi.xml"/>
    6666  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="python.xml"/>
     67  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="wheel.xml"/>
    6768  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ninja.xml"/>
    6869  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="meson.xml"/>
  • chapter08/python.xml

    rcaf32c8 r1937fe0  
    9292
    9393<screen><userinput remap="install">make install</userinput></screen>
     94
     95    <para>In serveral places we use the <command>pip3</command> command to
     96    install Python 3 programs and modules for all users as root. This conflicts
     97    with the Python developers recommendation to build packages in a virtual
     98    environment as a regular user. To this end, a multi-line warning is
     99    written when using <command>pip3</command> as the root user.  If desired,
     100    supress this warning by running the following command:</para>
     101
     102<screen><userinput remap="install">sed -e '/def warn_if_run_as_root/a\    return' \
     103    -i /usr/lib/python3.10/site-packages/pip/_internal/cli/req_command.py
     104</userinput></screen>
     105
    94106
    95107    <para>If desired, install the preformatted documentation:</para>
Note: See TracChangeset for help on using the changeset viewer.