mirror of
https://github.com/dscripka/openWakeWord.git
synced 2026-08-27 18:17:20 -04:00
adjusted setup.py, last fix
This commit is contained in:
parent
173f5aa11a
commit
1841e7e8d9
1 changed files with 2 additions and 3 deletions
5
setup.py
5
setup.py
|
|
@ -7,18 +7,17 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
|||
# Build install_requires based on platform
|
||||
def build_install_requires():
|
||||
py_version = platform.python_version()[0:3].replace('.', "")
|
||||
print(py_version, platform.system(), platform.machine())
|
||||
if platform.system() == "Linux" and platform.machine() == "x86_64":
|
||||
install_requires=[
|
||||
'onnxruntime>=1.10.0,<2',
|
||||
f"speexdsp_ns @ https://github.com/dscripka/openWakeWord/releases/download/v0.1.1/speexdsp_ns-0.1.2-cp{py_version}-cp{py_version}-linux_x86_64.whl",
|
||||
]
|
||||
if platform.system() == "Linux" and platform.machine() == "aarch64":
|
||||
elif platform.system() == "Linux" and platform.machine() == "aarch64":
|
||||
install_requires=[
|
||||
'onnxruntime>=1.10.0,<2',
|
||||
f"speexdsp_ns @ https://github.com/dscripka/openWakeWord/releases/download/v0.1.1/speexdsp_ns-0.1.2-cp{py_version}-cp{py_version}-linux_aarch64.whl",
|
||||
],
|
||||
if platform.system() == "Windows" and platform.machine() == "x86_64":
|
||||
elif platform.system() == "Windows" and platform.machine() == "x86_64":
|
||||
install_requires=[
|
||||
'onnxruntime>=1.10.0,<2',
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue