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 +