mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-04 04:41:35 +00:00
Update macos-before-install.sh
This commit is contained in:
12
.github/actions/macos-before-install.sh
vendored
12
.github/actions/macos-before-install.sh
vendored
@@ -20,10 +20,14 @@ bash --version
|
|||||||
|
|
||||||
cd ~
|
cd ~
|
||||||
|
|
||||||
#brew install python@3.9
|
# Use official Python.org version of Python which is backwards compatible
|
||||||
wget https://www.python.org/ftp/python/3.9.0/python-3.9.0-macosx10.9.pkg
|
# with older MacOS versions
|
||||||
echo "installing..."
|
wget https://www.python.org/ftp/python/$BUILD_PYTHON_VERSION/python-$BUILD_PYTHON_VERSION-macosx10.9.pkg
|
||||||
sudo installer -pkg ./python-3.9.0-macosx10.9.pkg -target /
|
echo "installing Python $BUILD_PYTHON_VERSION..."
|
||||||
|
sudo installer -pkg ./python-$BUILD_PYTHON_VERSION-macosx10.9.pkg -target /
|
||||||
|
|
||||||
|
# This fixes https://github.com/pyinstaller/pyinstaller/issues/5062
|
||||||
|
codesign --remove-signature /Library/Frameworks/Python.framework/Versions/3.9/Python
|
||||||
|
|
||||||
#if [ ! -f python-$MIN_PYTHON_VERSION-macosx10.9.pkg ]; then
|
#if [ ! -f python-$MIN_PYTHON_VERSION-macosx10.9.pkg ]; then
|
||||||
# wget --quiet https://www.python.org/ftp/python/$MIN_PYTHON_VERSION/python-$MIN_PYTHON_VERSION-macosx10.9.pkg
|
# wget --quiet https://www.python.org/ftp/python/$MIN_PYTHON_VERSION/python-$MIN_PYTHON_VERSION-macosx10.9.pkg
|
||||||
|
|||||||
Reference in New Issue
Block a user