diff --git a/appendices/dependencies.xml b/appendices/dependencies.xml index 30d385e86..6493aa1f9 100644 --- a/appendices/dependencies.xml +++ b/appendices/dependencies.xml @@ -3078,6 +3078,44 @@ + + wheel + + + &dependencies; + + Python + + + + + &runtime; + + Python + + + + + &testsuites; + + No test suite available + + + + + &before; + + Jinja2 + + + + + &external; + + None + + + XML::Parser diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 060645474..22687eb80 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -40,6 +40,15 @@ appropriate for the entry or if needed the entire day's listitem. --> + + 2022-04-15 + + + [bdubbs] - Add wheel-0.37.1 (Python module). + + + + 2022-04-15 diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 8acd99833..04cc9985e 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -280,6 +280,9 @@ Added: + + Wheel-&wheel-version; + &xz-upstream-fix-patch; diff --git a/chapter03/packages.xml b/chapter03/packages.xml index c134295ec..e51225cf7 100644 --- a/chapter03/packages.xml +++ b/chapter03/packages.xml @@ -793,6 +793,15 @@ + + Wheel (&wheel-version;) - &wheel-size;: + + Home page: + Download: + MD5 sum: &wheel-md5; + + + XML::Parser (&xml-parser-version;) - &xml-parser-size;: diff --git a/chapter08/chapter08.xml b/chapter08/chapter08.xml index 0799f8829..437316b5f 100644 --- a/chapter08/chapter08.xml +++ b/chapter08/chapter08.xml @@ -64,6 +64,7 @@ + diff --git a/chapter08/python.xml b/chapter08/python.xml index 6b12d3559..76530d782 100644 --- a/chapter08/python.xml +++ b/chapter08/python.xml @@ -92,6 +92,18 @@ make install + In serveral places we use the pip3 command to + install Python 3 programs and modules for all users as root. This conflicts + with the Python developers recommendation to build packages in a virtual + environment as a regular user. To this end, a multi-line warning is + written when using pip3 as the root user. If desired, + supress this warning by running the following command: + +sed -e '/def warn_if_run_as_root/a\ return' \ + -i /usr/lib/python3.10/site-packages/pip/_internal/cli/req_command.py + + + If desired, install the preformatted documentation: install -v -dm755 /usr/share/doc/python-&python-version;/html 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 @@ + + + %general-entities; +]> + + + + + + wheel + &wheel-version; +
&wheel-url;
+
+ + wheel-&wheel-version; + + + wheel + + + + + + <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 + + Install wheel with the following command: + +pip3 install --no-index $PWD + + + The meaning of the pip3 options: + + + install + + Install the package + + + + + --no-index + + 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. + + + + + $PWD + + Look for files to install in the current working directory. + + + + + + + + + Contents of Wheel + + + Installed module + Installed directory + + + wheel.py + /usr/lib/python&python-minor;/site-packages/wheel + + + + + + +
+ diff --git a/packages.ent b/packages.ent index cf9823431..b0df934e2 100644 --- a/packages.ent +++ b/packages.ent @@ -740,6 +740,15 @@ + + + + + + + + + diff --git a/prologue/why.xml b/prologue/why.xml index a66141fc4..dd6a27c96 100644 --- a/prologue/why.xml +++ b/prologue/why.xml @@ -592,6 +592,14 @@ partitions, and messages.
+ + Wheel + + This package contains a Python module that is the + reference implementation of the Python wheel packaging standard. + + + Vim