Skip to content

Commit c5d5f92

Browse files
committed
1
1 parent 94d267e commit c5d5f92

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/build-push.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ jobs:
110110
- name: Overwrite for MacOs
111111
if: runner.os == 'MacOs' && matrix.platform == 'all'
112112
run: |
113+
find / -name ev.h 2>/dev/null
113114
echo 'CIBW_ENVIRONMENT: PIP_GLOBAL_OPTION="build_ext -j4 -I/usr/local/include/ -L/usr/local/lib -I/opt/homebrew/include -L/opt/homebrew/lib"' >> $GITHUB_ENV
114115
echo "CIBW_BUILD=cp39* cp310* cp311* cp312* cp313*" >> $GITHUB_ENV
115116
echo "CIBW_BEFORE_TEST_MACOS=pip install -r {project}/test-requirements.txt pytest" >> $GITHUB_ENV

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def __init__(self, ext):
139139

140140
is_macos = sys.platform.startswith('darwin')
141141

142-
libev_includes = ['/usr/include/libev', '/usr/local/include', '/opt/local/include', '/usr/include']
142+
libev_includes = ['/usr/include/libev', '/usr/local/include', '/opt/local/include', '/usr/include', '/opt/homebrew/include']
143143
libev_libdirs = ['/usr/local/lib', '/opt/local/lib', '/usr/lib64']
144144
if is_macos:
145145
libev_includes.extend(['/opt/homebrew/include', os.path.expanduser('~/homebrew/include')])

0 commit comments

Comments
 (0)