Skip to content

Commit

Permalink
Fix pip install on Windows for Python 3.11 (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj authored Aug 14, 2023
1 parent 313debe commit 496c5dd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
#
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'",
]


Expand Down

0 comments on commit 496c5dd

Please sign in to comment.