Adjusted osx prepare script to expect python3 being installed now

Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
This commit is contained in:
TheJackiMonster 2021-11-05 00:26:44 +01:00
parent cc4ba1aadd
commit eb6f43f6ad
No known key found for this signature in database
GPG key ID: D850A5F772E880F9

View file

@ -1,17 +1,10 @@
#!/bin/bash
set -ev # display each line executed along with output
brew update &
while true; do
ps -p$! 2>& 1>/dev/null
if [ $? = 0 ]; then
echo "still updating..."; sleep 5m
else
break
fi
done
# brew update # (safe the CI some time)
# Upgrade to python 3.x
brew upgrade python
# brew upgrade python # (should be fine)
brew install enchant
brew postinstall python # this installs pip
sudo -H pip3 install --upgrade pip setuptools wheel