Changeset 524c5e3 for chapter08/wheel.xml
- Timestamp:
- 12/09/2022 07:53:16 AM (17 months ago)
- Branches:
- xry111/clfs-ng
- Children:
- f16e611
- Parents:
- 2ef64c4 (diff), 4640b37d (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/wheel.xml
r2ef64c4 r524c5e3 41 41 <title>Installation of Wheel</title> 42 42 43 <para>Compile wheel with the following command:</para>43 <para>Compile Wheel with the following command:</para> 44 44 45 45 <screen><userinput remap="make">PYTHONPATH=src pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen> 46 46 47 <para>Install wheel with the following command:</para>47 <para>Install Wheel with the following command:</para> 48 48 49 49 <screen><userinput remap="install">pip3 install --no-index --find-links=dist wheel</userinput></screen> 50 50 51 51 <variablelist> 52 <title>The meaning of the pip3 co mmands:</title>52 <title>The meaning of the pip3 configuration options and commands:</title> 53 53 54 54 <varlistentry> 55 55 <term><envar>PYTHONPATH=src</envar></term> 56 56 <listitem> 57 <para>Allow usingthis package (not installed yet) to build a57 <para>Allows this package (not installed yet) to build a 58 58 wheel archive for itself, to avoid a chicken-or-egg problem.</para> 59 59 </listitem> … … 63 63 <term><command>wheel</command></term> 64 64 <listitem> 65 <para> Buildwheel archive for this package.</para>65 <para>This command builds the wheel archive for this package.</para> 66 66 </listitem> 67 67 </varlistentry> … … 70 70 <term><parameter>-w dist</parameter></term> 71 71 <listitem> 72 <para> Put the created wheelsinto the72 <para>Instructs pip to put the created wheel into the 73 73 <filename class='directory'>dist</filename> directory.</para> 74 74 </listitem> … … 78 78 <term><command>install</command></term> 79 79 <listitem> 80 <para> Installthe package.</para>80 <para>This command installs the package.</para> 81 81 </listitem> 82 82 </varlistentry> … … 87 87 <parameter>--no-index</parameter></term> 88 88 <listitem> 89 <para> Prevent pip fromfetching files from the online package89 <para>These options prevent fetching files from the online package 90 90 repository (PyPI). If packages are installed in the correct order, 91 then it won't need to fetch any files in the first place, butthese91 pip won't need to fetch any files in the first place; these 92 92 options add some safety in case of user error.</para> 93 93 </listitem> … … 97 97 <term><parameter>--find-links dist</parameter></term> 98 98 <listitem> 99 <para> Search wheel archives fromthe99 <para>Instructs pip to search for wheel archives in the 100 100 <filename class='directory'>dist</filename> directory.</para> 101 101 </listitem> … … 129 129 <listitem> 130 130 <para> 131 is a n utility to unpack, pack, or convert wheel packages131 is a utility to unpack, pack, or convert wheel archives 132 132 </para> 133 133 <indexterm zone="ch-system-wheel">
Note:
See TracChangeset
for help on using the changeset viewer.