aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2022-04-17 19:04:53 -0500
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2022-04-17 19:04:53 -0500
commit5a2aca56267b238d44b538bd3e5d71d86e1335b3 (patch)
tree5380944d80ca4274b78c41bb3d73a940c36f6803 /chapter08
parent032d88fc75f52806067f0d5bd9cb1a0eea8c8e33 (diff)
Add wheel.xml
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/wheel.xml95
1 files changed, 95 insertions, 0 deletions
diff --git a/chapter08/wheel.xml b/chapter08/wheel.xml
new file mode 100644
index 000000000..78fa94fd8
--- /dev/null
+++ b/chapter08/wheel.xml
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+ "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+ <!ENTITY % general-entities SYSTEM "../general.ent">
+ %general-entities;
+]>
+
+<sect1 id="ch-system-wheel" role="wrap">
+ <?dbhtml filename="wheel.html"?>
+
+ <sect1info condition="script">
+ <productname>wheel</productname>
+ <productnumber>&wheel-version;</productnumber>
+ <address>&wheel-url;</address>
+ </sect1info>
+
+ <title>wheel-&wheel-version;</title>
+
+ <indexterm zone="ch-system-wheel">
+ <primary sortas="a-wheel">wheel</primary>
+ </indexterm>
+
+ <sect2 role="package">
+ <title/>
+
+ <para>Wheel is a Python library that implements the reference
+ implementation of the Python wheel packaging standard.</para>
+
+ <segmentedlist>
+ <segtitle>&buildtime;</segtitle>
+ <segtitle>&diskspace;</segtitle>
+ <seglistitem>
+ <seg>&wheel-fin-sbu;</seg>
+ <seg>&wheel-fin-du;</seg>
+ </seglistitem>
+ </segmentedlist>
+
+ </sect2>
+
+ <sect2 role="installation">
+ <title>Installation of Wheel</title>
+
+ <para>Install wheel with the following command:</para>
+
+<screen><userinput remap="install">pip3 install --no-index $PWD</userinput></screen>
+
+ <variablelist>
+ <title>The meaning of the pip3 options:</title>
+
+ <varlistentry>
+ <term><command>install</command></term>
+ <listitem>
+ <para>Install the package</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><parameter>--no-index</parameter></term>
+ <listitem>
+ <para>Prevent pip from fetching files from the online package
+ repository (PyPI). If packages are installed in the correct order,
+ then it won't need to fetch any files in the first place, but this
+ option adds some safety in case of user error.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><parameter>$PWD</parameter></term>
+ <listitem>
+ <para>Look for files to install in the current working directory.</para>
+ </listitem>
+ </varlistentry>
+
+ </variablelist>
+
+ </sect2>
+
+ <sect2 id="contents-wheel" role="content">
+ <title>Contents of Wheel</title>
+
+ <segmentedlist>
+ <segtitle>Installed module</segtitle>
+ <segtitle>Installed directory</segtitle>
+
+ <seglistitem>
+ <seg>wheel.py</seg>
+ <seg>/usr/lib/python&python-minor;/site-packages/wheel</seg>
+ </seglistitem>
+
+ </segmentedlist>
+
+ </sect2>
+
+</sect1>
+