We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a6d329 commit 1dd8583Copy full SHA for 1dd8583
setup.py
@@ -1412,8 +1412,9 @@ def platform_release_tuple():
1412
print(f'OpenBSD: pip install of swig does not build; assuming `pkg_add swig`.')
1413
elif PYMUPDF_SETUP_SWIG:
1414
pass
1415
- elif darwin:
1416
- # 2025-10-27: new swig-4.4.0 fails badly at runtime.
+ elif darwin or os.environ.get('PYODIDE_ROOT'):
+ # 2025-10-27: new swig-4.4.0 fails badly at runtime on macos.
1417
+ # 2025-11-06: similar for pyodide.
1418
ret.append('swig==4.3.1')
1419
else:
1420
ret.append('swig')
0 commit comments