From ce7303084b296d157e40cc553f632739ee18f2a6 Mon Sep 17 00:00:00 2001 From: Bastian Bechtold Date: Wed, 15 Feb 2023 16:22:22 +0100 Subject: [PATCH] fixes typo in library location thankfully only triggers on linux, if no packaged lib and no system lib was found --- README.rst | 6 ++++++ soundfile.py | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 295ab39..5b25d16 100644 --- a/README.rst +++ b/README.rst @@ -344,3 +344,9 @@ News - Improves precompiled library location, especially with py2app or cx-freeze. - Now provide binary wheels for Linux x86_64 - Now prefers packaged libsndfile over system-installed libsndfile + +2023-02-15 V0.12.1 Bastian Bechtold + Thank you, funnypig, for the bug report + + - Fixed typo on library location detection if no packaged lib and + no system lib was found diff --git a/soundfile.py b/soundfile.py index 9c083f0..cc13192 100644 --- a/soundfile.py +++ b/soundfile.py @@ -8,7 +8,7 @@ For further information, see https://python-soundfile.readthedocs.io/. """ -__version__ = "0.12.0" +__version__ = "0.12.1" import os as _os import sys as _sys @@ -176,7 +176,7 @@ _explicit_libname = 'libsndfile.dylib' elif _sys.platform == 'win32': _explicit_libname = 'libsndfile.dll' - elif _sys.plaform == 'linux': + elif _sys.platform == 'linux': _explicit_libname = 'libsndfile.so' else: raise