Skip to content

Commit 30eb43f

Browse files
setup.py: use default swig for pyodide.
It now works fine for py_limited_api.
1 parent fcd7fe0 commit 30eb43f

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

setup.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1443,11 +1443,6 @@ def platform_release_tuple():
14431443
print(f'OpenBSD: pip install of swig does not build; assuming `pkg_add swig`.')
14441444
elif PYMUPDF_SETUP_SWIG:
14451445
pass
1446-
elif os.environ.get('PYODIDE_ROOT'):
1447-
# 2025-10-27: new swig-4.4.0 fails badly at runtime on macos.
1448-
# 2025-11-06: similar for pyodide.
1449-
# 2026-02-24: Appears to work on macos with swig 4.4.1.
1450-
ret.append('swig==4.3.1')
14511446
else:
14521447
ret.append('swig')
14531448
return ret

0 commit comments

Comments
 (0)