diff --git a/pyaec/pyproject.toml b/pyaec/pyproject.toml index 52f16bd..0b9c651 100644 --- a/pyaec/pyproject.toml +++ b/pyaec/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "pyaec" -version = "1.0.0" +version = "1.0.1" description = "Acoustic echo cancellation" readme = "README.md" authors = [ diff --git a/pyaec/src/pyaec/__init__.py b/pyaec/src/pyaec/__init__.py index f6494c7..3b4e010 100644 --- a/pyaec/src/pyaec/__init__.py +++ b/pyaec/src/pyaec/__init__.py @@ -6,11 +6,9 @@ def load_library(): try: - lib_name = "libaec" + ( - ".dll" - if platform.system() == "Windows" - else ".so" if platform.system() == "Linux" else ".dylib" - ) + ext = ".dll" if platform.system() == "Windows" else ".so" if platform.system() == "Linux" else ".dylib" + lib_name = "aec" + ext if platform.system() == "Windows" else 'libaec' + ext + # Same dir as this file lib_path = os.path.join(os.path.dirname(__file__), lib_name)