Fix CI tests for Python and JNI. (#554)

This commit is contained in:
Fangjun Kuang
2024-01-27 13:01:54 +08:00
committed by GitHub
parent 7ae73e75ba
commit 44efff4e47
7 changed files with 40 additions and 20 deletions

View File

@@ -36,13 +36,6 @@ package_name = "sherpa-onnx"
with open("sherpa-onnx/python/sherpa_onnx/__init__.py", "a") as f:
f.write(f"__version__ = '{get_package_version()}'\n")
install_requires = [
"numpy",
"sentencepiece==0.1.96; python_version < '3.11'",
"sentencepiece; python_version >= '3.11'",
"click>=7.1.1",
]
def get_binaries_to_install():
bin_dir = Path("build") / "sherpa_onnx" / "bin"
@@ -91,7 +84,6 @@ def get_binaries_to_install():
setuptools.setup(
name=package_name,
python_requires=">=3.6",
install_requires=install_requires,
version=get_package_version(),
author="The sherpa-onnx development team",
author_email="dpovey@gmail.com",