diff --git a/.github/workflows/macos.yaml b/.github/workflows/macos.yaml index f3b11a5da..f103061f7 100644 --- a/.github/workflows/macos.yaml +++ b/.github/workflows/macos.yaml @@ -145,6 +145,7 @@ jobs: cp -a build/install/lib $dst/ cp -a build/install/include $dst/ + brew install tree tree $dst tar cjvf ${dst}.tar.bz2 $dst diff --git a/CMakeLists.txt b/CMakeLists.txt index cd2d85213..3e2099693 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.13 FATAL_ERROR) project(sherpa-onnx) -set(SHERPA_ONNX_VERSION "1.7.5") +set(SHERPA_ONNX_VERSION "1.7.6") # Disable warning about # diff --git a/setup.py b/setup.py index 8b471f067..1ba2e24b1 100644 --- a/setup.py +++ b/setup.py @@ -37,7 +37,8 @@ def get_package_version(): install_requires = [ "numpy", - "sentencepiece==0.1.96", + "sentencepiece==0.1.96; python_version < '3.11'", + "sentencepiece; python_version >= '3.11'", ]