Skip to content

Commit ce73030

Browse files
author
Bastian Bechtold
committed
fixes typo in library location
thankfully only triggers on linux, if no packaged lib and no system lib was found
1 parent d8e1c00 commit ce73030

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

README.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,3 +344,9 @@ News
344344
- Improves precompiled library location, especially with py2app or cx-freeze.
345345
- Now provide binary wheels for Linux x86_64
346346
- Now prefers packaged libsndfile over system-installed libsndfile
347+
348+
2023-02-15 V0.12.1 Bastian Bechtold
349+
Thank you, funnypig, for the bug report
350+
351+
- Fixed typo on library location detection if no packaged lib and
352+
no system lib was found

soundfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
For further information, see https://python-soundfile.readthedocs.io/.
99
1010
"""
11-
__version__ = "0.12.0"
11+
__version__ = "0.12.1"
1212

1313
import os as _os
1414
import sys as _sys
@@ -176,7 +176,7 @@
176176
_explicit_libname = 'libsndfile.dylib'
177177
elif _sys.platform == 'win32':
178178
_explicit_libname = 'libsndfile.dll'
179-
elif _sys.plaform == 'linux':
179+
elif _sys.platform == 'linux':
180180
_explicit_libname = 'libsndfile.so'
181181
else:
182182
raise

0 commit comments

Comments
 (0)