Fangjun Kuang
Committed by GitHub

Fix pip install on Windows for Python 3.11 (#271)

... ... @@ -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
... ...
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
#
... ...
... ... @@ -37,7 +37,8 @@ with open("sherpa-onnx/python/sherpa_onnx/__init__.py", "a") as f:
install_requires = [
"numpy",
"sentencepiece==0.1.96",
"sentencepiece==0.1.96; python_version < '3.11'",
"sentencepiece; python_version >= '3.11'",
]
... ...