- Timestamp:
- 04/18/2022 04:59:52 AM (2 years ago)
- Branches:
- 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 4b51d83b
- Parents:
- 97497444
- Location:
- chapter08
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/meson.xml
r97497444 ree16e55 71 71 <term><parameter>-w dist</parameter></term> 72 72 <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> 74 75 </listitem> 75 76 </varlistentry> … … 78 79 <term><parameter>--find-links dist</parameter></term> 79 80 <listitem> 80 <para>Install wheels from the 'dist' directory.</para> 81 <para>Install wheels from the 82 <filename class='directory'>dist</filename> directory.</para> 81 83 </listitem> 82 84 </varlistentry> -
chapter08/python.xml
r97497444 ree16e55 94 94 95 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> 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> 101 107 102 108 <screen><userinput remap="install">sed -e '/def warn_if_run_as_root/a\ return' \ -
chapter08/wheel.xml
r97497444 ree16e55 24 24 <title/> 25 25 26 <para>Wheel is a Python library that i mplements the reference26 <para>Wheel is a Python library that is the reference 27 27 implementation of the Python wheel packaging standard.</para> 28 28 … … 51 51 <term><command>install</command></term> 52 52 <listitem> 53 <para>Install the package </para>53 <para>Install the package.</para> 54 54 </listitem> 55 55 </varlistentry> … … 80 80 81 81 <segmentedlist> 82 <segtitle>Installed module</segtitle>82 <segtitle>Installed program</segtitle> 83 83 <segtitle>Installed directory</segtitle> 84 84 85 85 <seglistitem> 86 <seg>wheel .py</seg>86 <seg>wheel</seg> 87 87 <seg>/usr/lib/python&python-minor;/site-packages/wheel</seg> 88 88 </seglistitem> 89 </segmentedlist> 89 90 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> 91 108 92 109 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.