Changeset 23277f0c


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
Location:
chapter08
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter08/meson.xml

    r8b8ad95 r23277f0c  
    7171        <term><parameter>-w dist</parameter></term>
    7272        <listitem>
    73            <para>Put the created wheels into the `dist` directory.</para>
     73           <para>Put the created wheels into the
     74           <filename class='directory'>dist</filename> directory.</para>
    7475        </listitem>
    7576      </varlistentry>
     
    7879        <term><parameter>--find-links dist</parameter></term>
    7980        <listitem>
    80            <para>Install wheels from the 'dist' directory.</para>
     81           <para>Install wheels from the
     82           <filename class='directory'>dist</filename> directory.</para>
    8183        </listitem>
    8284      </varlistentry>
  • 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' \
  • chapter08/wheel.xml

    r8b8ad95 r23277f0c  
    2424    <title/>
    2525
    26     <para>Wheel is a Python library that implements the reference
     26    <para>Wheel is a Python library that is the reference
    2727    implementation of the Python wheel packaging standard.</para>
    2828
     
    5151        <term><command>install</command></term>
    5252        <listitem>
    53            <para>Install the package</para>
     53           <para>Install the package.</para>
    5454        </listitem>
    5555      </varlistentry>
     
    8080
    8181    <segmentedlist>
    82       <segtitle>Installed module</segtitle>
     82      <segtitle>Installed program</segtitle>
    8383      <segtitle>Installed directory</segtitle>
    8484
    8585      <seglistitem>
    86         <seg>wheel.py</seg>
     86        <seg>wheel</seg>
    8787        <seg>/usr/lib/python&python-minor;/site-packages/wheel</seg>
    8888      </seglistitem>
     89    </segmentedlist>
    8990
    90     </segmentedlist>
     91    <variablelist>
     92      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
     93      <?dbfo list-presentation="list"?>
     94      <?dbhtml list-presentation="table"?>
     95
     96      <varlistentry id="wheel-wheel">
     97        <term><command>wheel</command></term>
     98        <listitem>
     99          <para>
     100            is an utility to unpack, pack, or convert wheel packages
     101          </para>
     102          <indexterm zone="ch-system-wheel">
     103            <primary sortas="b-wheel">wheel</primary>
     104          </indexterm>
     105        </listitem>
     106      </varlistentry>
     107    </variablelist>
    91108
    92109  </sect2>
Note: See TracChangeset for help on using the changeset viewer.