mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-21 19:52:52 +00:00
Add 8.51 - Build wheel
This commit is contained in:
parent
d7f60ae945
commit
0f1572658e
2 changed files with 22 additions and 0 deletions
10
scripts/chapter8/8.51-wheel.sh
Normal file
10
scripts/chapter8/8.51-wheel.sh
Normal file
|
@ -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
|
|
@ -1150,3 +1150,15 @@ then
|
||||||
stop_script "chapter8/8.50-python.sh"
|
stop_script "chapter8/8.50-python.sh"
|
||||||
fi
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue