From 9b7d7badf0d26d388723bc153fc24542816b2b72 Mon Sep 17 00:00:00 2001
From: Poltern <2363951+Poltern@users.noreply.github.com>
Date: Tue, 5 Sep 2023 00:33:00 +0300
Subject: [PATCH] Add --no-cache-dir into pip3 wheel commands for Python
modules
---
chapter08/flit-core.xml | 10 +++++++++-
chapter08/jinja2.xml | 2 +-
chapter08/markupsafe.xml | 2 +-
chapter08/meson.xml | 2 +-
chapter08/wheel.xml | 2 +-
5 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/chapter08/flit-core.xml b/chapter08/flit-core.xml
index fa71460..224270f 100644
--- a/chapter08/flit-core.xml
+++ b/chapter08/flit-core.xml
@@ -42,7 +42,7 @@
Соберите пакет:
-pip3 wheel -w dist --no-build-isolation --no-deps $PWD
+pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD
Установите пакет:
@@ -66,6 +66,14 @@
+
+ --no-cache-dir
+
+ Не позволяет pip копировать созданный wheel-пакет в каталог
+ /root/.cache/pip.
+
+
+
install
diff --git a/chapter08/jinja2.xml b/chapter08/jinja2.xml
index 434f78a..00348dd 100644
--- a/chapter08/jinja2.xml
+++ b/chapter08/jinja2.xml
@@ -41,7 +41,7 @@
Соберите пакет:
-pip3 wheel -w dist --no-build-isolation --no-deps $PWD
+pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD
Установите пакет:
diff --git a/chapter08/markupsafe.xml b/chapter08/markupsafe.xml
index 8937df4..9f04603 100644
--- a/chapter08/markupsafe.xml
+++ b/chapter08/markupsafe.xml
@@ -41,7 +41,7 @@
Скомпилируйте MarkupSafe с помощью следующей команды:
-pip3 wheel -w dist --no-build-isolation --no-deps $PWD
+pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD
С этим пакетом не поставляется тестов.
diff --git a/chapter08/meson.xml b/chapter08/meson.xml
index f6e22fa..b150827 100644
--- a/chapter08/meson.xml
+++ b/chapter08/meson.xml
@@ -46,7 +46,7 @@
-->
Скомпилируйте Meson с помощью следующей команды:
-pip3 wheel -w dist --no-build-isolation --no-deps $PWD
+pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD
Для набора тестов требуются некоторые пакеты, выходящие за рамки LFS.
diff --git a/chapter08/wheel.xml b/chapter08/wheel.xml
index cb8c348..792ba42 100644
--- a/chapter08/wheel.xml
+++ b/chapter08/wheel.xml
@@ -42,7 +42,7 @@
Скомпилируйте Wheel с помощью следующей команды:
-pip3 wheel -w dist --no-build-isolation --no-deps $PWD
+pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD
Установите Wheel: