Changeset 39d9ed8 for chapter08/wheel.xml
- Timestamp:
- 04/01/2023 01:06:22 PM (18 months ago)
- Branches:
- xry111/clfs-ng
- Children:
- 7a570bd
- Parents:
- 6bced9f (diff), fd531b84 (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
r6bced9f r39d9ed8 43 43 <para>Compile Wheel with the following command:</para> 44 44 45 <screen><userinput remap="make"> PYTHONPATH=srcpip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>45 <screen><userinput remap="make">pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen> 46 46 47 47 <para>Install Wheel with the following command:</para> … … 49 49 <screen><userinput remap="install">pip3 install --no-index --find-links=dist wheel</userinput></screen> 50 50 51 <variablelist>52 <title>The meaning of the pip3 configuration options and commands:</title>53 54 <varlistentry>55 <term><envar>PYTHONPATH=src</envar></term>56 <listitem>57 <para>Allows this package (not installed yet) to build a58 wheel archive for itself, to avoid a chicken-or-egg problem.</para>59 </listitem>60 </varlistentry>61 62 <varlistentry>63 <term><command>wheel</command></term>64 <listitem>65 <para>This command builds the wheel archive for this package.</para>66 </listitem>67 </varlistentry>68 69 <varlistentry>70 <term><parameter>-w dist</parameter></term>71 <listitem>72 <para>Instructs pip to put the created wheel into the73 <filename class='directory'>dist</filename> directory.</para>74 </listitem>75 </varlistentry>76 77 <varlistentry>78 <term><command>install</command></term>79 <listitem>80 <para>This command installs the package.</para>81 </listitem>82 </varlistentry>83 84 <varlistentry>85 <term><parameter>--no-build-isolation</parameter>,86 <parameter>--no-deps</parameter>, and87 <parameter>--no-index</parameter></term>88 <listitem>89 <para>These options prevent fetching files from the online package90 repository (PyPI). If packages are installed in the correct order,91 pip won't need to fetch any files in the first place; these92 options add some safety in case of user error.</para>93 </listitem>94 </varlistentry>95 96 <varlistentry>97 <term><parameter>--find-links dist</parameter></term>98 <listitem>99 <para>Instructs pip to search for wheel archives in the100 <filename class='directory'>dist</filename> directory.</para>101 </listitem>102 </varlistentry>103 </variablelist>104 51 </sect2> 105 52
Note:
See TracChangeset
for help on using the changeset viewer.