Skip to content

Commit 6b46b7c

Browse files
committed
fix python3 things
1 parent 3f668d0 commit 6b46b7c

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

prebuild/macOS/preinstall.sh

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
set -Eeuxo pipefail
22

33
brew update
4-
brew install --force pkg-config cairo pango librsvg giflib # python3 is for macpack
5-
# brew upgrade python # activates python 3
4+
5+
rm -f /usr/local/bin/2to3 || :
6+
rm -f /usr/local/bin/idle3 || :
7+
rm -f /usr/local/bin/pydoc3 || :
8+
rm -f /usr/local/bin/python3 || :
9+
rm -f /usr/local/bin/python3-config || :
10+
11+
brew install --force pkg-config cairo pango librsvg giflib
12+
613
pip3 install --user macpack

0 commit comments

Comments
 (0)