Add --no-cache-dir into pip3 wheel commands for Python modules

This commit is contained in:
Xi Ruoyao 2023-09-03 00:45:13 +08:00
parent 3864d235cf
commit 1b807632f6
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3
7 changed files with 20 additions and 5 deletions

View File

@ -43,6 +43,11 @@
<listitem>
<para>2023-09-02</para>
<itemizedlist>
<listitem>
<para>[xry111] - Add --no-cache-dir option for pip3 wheel
commands. Addresses
<ulink url='&blfs-ticket-root;18466'>BLFS #18466</ulink>.</para>
</listitem>
<listitem>
<para>[bdubbs] - Update to vim-1837. Addresses
<ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para>

View File

@ -42,7 +42,7 @@
<para>Build the package:</para>
<screen><userinput remap="install">pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
<screen><userinput remap="install">pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD</userinput></screen>
<para>Install the package:</para>
@ -66,6 +66,15 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>--no-cache-dir</parameter></term>
<listitem>
<para>Prevents pip from copying the created wheel into the
<filename class='directory'>/root/.cache/pip</filename>
directory.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><command>install</command></term>
<listitem>

View File

@ -42,7 +42,7 @@
<para>Build the package:</para>
<screen><userinput remap="install">pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
<screen><userinput remap="install">pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD</userinput></screen>
<para>Install the package:</para>

View File

@ -42,7 +42,7 @@
<para>Compile MarkupSafe with the following command:</para>
<screen><userinput remap="make">pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
<screen><userinput remap="make">pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD</userinput></screen>
<para>This package does not come with a test suite.</para>

View File

@ -46,7 +46,7 @@
-->
<para>Compile Meson with the following command:</para>
<screen><userinput remap="make">pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
<screen><userinput remap="make">pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD</userinput></screen>
<para>The test suite requires some packages outside the scope of LFS.</para>

View File

@ -42,7 +42,7 @@
<para>Compile Wheel with the following command:</para>
<screen><userinput remap="make">pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
<screen><userinput remap="make">pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD</userinput></screen>
<para>Install Wheel with the following command:</para>

View File

@ -103,6 +103,7 @@
<!ENTITY erratad "&lfs-root;lfs/errata/&generic-versiond;/">
-->
<!ENTITY lfs-ticket-root "https://wiki.linuxfromscratch.org/lfs/ticket/">
<!ENTITY blfs-ticket-root "https://wiki.linuxfromscratch.org/blfs/ticket/">
<!ENTITY anduin-sources "https://anduin.linuxfromscratch.org/LFS">