Skip to content

Commit 532450d

Browse files
kit-ty-katemarcan
authored andcommitted
Force the use of python3
This fixes building the installer in macOS as the default python binary is python2 (included by macOS). Moreover python2 is deprecated in macOS and the path forward is to specifically use python3 instead of the default python. As far as I can see, pip (required to install certifi) is only available for python3 in homebrew. Signed-off-by: Kate <[email protected]>
1 parent 211702b commit 532450d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ rm -f _test* _tkinter*
6161

6262
echo "Copying certificates..."
6363

64-
certs="$(python -c 'import certifi; print(certifi.where())')"
64+
certs="$(python3 -c 'import certifi; print(certifi.where())')"
6565
cp "$certs" "$PACKAGE/Frameworks/Python.framework/Versions/Current/etc/openssl/cert.pem"
6666

6767
echo "Packaging installer..."

0 commit comments

Comments
 (0)