Hack to force detect libsndfile.

This commit is contained in:
Josh W 2024-09-05 00:22:30 -04:00
parent 182ac825de
commit 9048ddf99d

View file

@ -20,7 +20,11 @@ before-test = "brew install libsndfile"
[[tool.cibuildwheel.overrides]]
select = '*-musllinux*'
before-test = ['apk add libsndfile', 'find / | grep libsndfile']
before-test = [
'apk add libsndfile',
'PYVER=`python -c "import sys; print(\".\".join(map(str, sys.version_info[:2])))"`',
'sed -i "192b1; b ;:1;s/_explicit_libname/\"\/usr\/lib\/libsndfile.so.1.0.37\"/g" $VIRTUAL_ENV/lib/python$PYVER/site-packages/soundfile.py',
]
[tool.pytest.ini_options]
minversion = '6.0'