From 0f1572658e6eb08017c369aecace045a37379b14 Mon Sep 17 00:00:00 2001 From: Aditya Date: Thu, 12 Jan 2023 14:34:00 +0530 Subject: [PATCH] Add 8.51 - Build wheel --- scripts/chapter8/8.51-wheel.sh | 10 ++++++++++ scripts/main.sh | 12 ++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 scripts/chapter8/8.51-wheel.sh diff --git a/scripts/chapter8/8.51-wheel.sh b/scripts/chapter8/8.51-wheel.sh new file mode 100644 index 0000000..29109c8 --- /dev/null +++ b/scripts/chapter8/8.51-wheel.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +cd /sources +tar xf Python-3.10.6.tar.xz +cd Python-3.10.6 + +pip3 install --no-index $PWD + +cd /sources +rm -rf Python-3.10.6 diff --git a/scripts/main.sh b/scripts/main.sh index 2b3a28d..b906f0b 100644 --- a/scripts/main.sh +++ b/scripts/main.sh @@ -1150,3 +1150,15 @@ then stop_script "chapter8/8.50-python.sh" fi +# Chapter 8.51 +# ============ +echo "Building wheel" +su -c "bash $SCRIPT/chapter8/8.51-wheel.sh" + +# Exit on error +check_exit_code +if [ $exit_status -ne 0 ] +then + stop_script "chapter8/8.51-wheel.sh" +fi +