-
Notifications
You must be signed in to change notification settings - Fork 506
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix CI tests for Python and JNI. (#554)
- Loading branch information
1 parent
7ae73e7
commit 44efff4
Showing
7 changed files
with
40 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package android.util | ||
|
||
class Log { | ||
companion object { | ||
fun i(tag: String, msg: String) { | ||
println("$tag, $msg") | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,13 +36,6 @@ def get_package_version(): | |
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="[email protected]", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters