Ignore:
Timestamp:
04/21/2022 03:23:18 PM (2 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
arm
Children:
3e8a788
Parents:
8b8ad95
git-author:
Xi Ruoyao <xry111@…> (04/18/2022 04:59:52 AM)
git-committer:
William Harrington <kb0iic@…> (04/21/2022 03:23:18 PM)
Message:

text fixes for wheel change

  • Add description for "wheel" command
  • Explain why pip3 warning does not matter for us
  • Format and typo fixes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/python.xml

    r8b8ad95 r23277f0c  
    9494
    9595    <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>
     96    install Python 3 programs and modules for all users as
     97    <systemitem class='username'>root</systemitem>. This conflicts
     98    with the Python developers recommendation to install packages into a
     99    virtual environment or the home directory of a regular user (by running
     100    <command>pip3</command> as this user). To this end, a multi-line warning
     101    is written when using <command>pip3</command> as the
     102    <systemitem class='username'>root</systemitem> user.  The main reason
     103    of this recommendation is for avoiding a conflict with the system
     104    package manager (<command>dpkg</command> for example), but LFS does not
     105    have a system-wide package manager so this is not a problem.  If desired,
     106    suppress this warning by running the following command:</para>
    101107
    102108<screen><userinput remap="install">sed -e '/def warn_if_run_as_root/a\    return' \
Note: See TracChangeset for help on using the changeset viewer.