diff --git a/.github/workflows/github-build.yml b/.github/workflows/github-build.yml index 677b91a..556fa26 100644 --- a/.github/workflows/github-build.yml +++ b/.github/workflows/github-build.yml @@ -57,13 +57,13 @@ jobs: build_mac: - runs-on: macos-11 + runs-on: macos-13-xlarge steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: '3.9' + python-version: '3.10' - name: Build bin package run: | ./package/Build-Mac.sh diff --git a/package/Build-Mac.sh b/package/Build-Mac.sh index 4f48272..98ff98c 100755 --- a/package/Build-Mac.sh +++ b/package/Build-Mac.sh @@ -3,7 +3,7 @@ # Build the uniblow MacOS binary package release # Requires Xcode developer tools -# Python 3.9 +# Python 3.10 # If needed, python3 -m venv unibenv should trigger the dev tools installation @@ -15,7 +15,7 @@ python3 -m venv unibenv source unibenv/bin/activate echo Installing pip dependencies ... -python -m pip install pip==21.2.1 +python -m pip install -U pip python -m pip install wxPython>=4.2.0 python -m pip install . @@ -32,6 +32,8 @@ setopt +o nomatch rm -Rf dist/uniblow.app/Contents/MacOS/*-info rm -Rf dist/uniblow.app/Contents/Resources/*-info setopt -o nomatch +rm -Rf dist/uniblow.app/Contents/Frameworks/numpy/.dylibs +rm -Rf dist/uniblow.app/Contents/Frameworks/PIL/.dylibs echo Compilation done. echo Binary result is in the dist folder.