Skip to content

Commit

Permalink
Build: Try to fix Py2.7 build on macOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
scoder committed Mar 24, 2024
1 parent 4a9779a commit 764b1ba
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ jobs:

runs-on: ${{ matrix.os }}
env:
USE_BUNDLE: "true"
MACOSX_DEPLOYMENT_TARGET: "11.0"
LUPA_WITH_LUA_DLOPEN: ${{ startsWith(matrix.os, 'windows') && 'false' || 'true' }}

Expand All @@ -261,12 +262,13 @@ jobs:
ln -s /usr/local/bin/glibtoolize /usr/local/bin/libtoolize
- name: Install dependencies
run: python -m pip install setuptools wheel -r requirements.txt
run: |
export PATH=/Library/Frameworks/Python.framework/Versions/2.7/bin:$PATH
python -m pip install setuptools wheel -r requirements.txt
- name: Build wheels
run: |
set USE_BUNDLE=true
set PATH=/Library/Frameworks/Python.framework/Versions/2.7/bin:$PATH
export PATH=/Library/Frameworks/Python.framework/Versions/2.7/bin:$PATH
python setup.py --with-cython sdist ${{ contains(matrix.pyversion, '3.') && 'build_ext -j6' || '' }} bdist_wheel
- name: Release
Expand Down

0 comments on commit 764b1ba

Please sign in to comment.