aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/flit-core.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter08/flit-core.xml')
-rw-r--r--chapter08/flit-core.xml11
1 files changed, 10 insertions, 1 deletions
diff --git a/chapter08/flit-core.xml b/chapter08/flit-core.xml
index 641ff73b7..661a02684 100644
--- a/chapter08/flit-core.xml
+++ b/chapter08/flit-core.xml
@@ -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>
@@ -67,6 +67,15 @@
</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>
<para>This command installs the package.</para>