wyoming-piper: 0.0.3 -> 1.2.0

This commit is contained in:
Martin Weinelt 2023-08-03 03:10:53 +02:00
parent bbf33b8ba0
commit c55fc24524
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
2 changed files with 13 additions and 11 deletions

View file

@ -1,8 +1,8 @@
diff --git a/setup.py b/setup.py
index 1355313..3b144c1 100644
index 05e42c1..8347acb 100644
--- a/setup.py
+++ b/setup.py
@@ -35,4 +35,9 @@ setup(
@@ -41,4 +41,9 @@ setup(
"Programming Language :: Python :: 3.10",
],
keywords="rhasspy wyoming piper",
@ -13,18 +13,20 @@ index 1355313..3b144c1 100644
+ }
)
diff --git a/wyoming_piper/__main__.py b/wyoming_piper/__main__.py
index f60cf13..a0a15f7 100755
index ab1580b..4c0a143 100755
--- a/wyoming_piper/__main__.py
+++ b/wyoming_piper/__main__.py
@@ -143,5 +143,9 @@ async def main() -> None:
@@ -143,8 +143,12 @@ def get_description(voice_info: Dict[str, Any]):
# -----------------------------------------------------------------------------
-if __name__ == "__main__":
+def run():
asyncio.run(main())
+ asyncio.run(main())
+
+
+if __name__ == "__main__":
+ run()
\ No newline at end of file
if __name__ == "__main__":
try:
- asyncio.run(main())
+ run()
except KeyboardInterrupt:
pass

View file

@ -5,13 +5,13 @@
python3.pkgs.buildPythonApplication rec {
pname = "wyoming-piper";
version = "0.0.3";
version = "1.2.0";
format = "setuptools";
src = fetchPypi {
pname = "wyoming_piper";
inherit version;
hash = "sha256-vl7LjW/2HBx6o/+vpap+wSG3XXzDwFacNmcbeU/8bOs=";
hash = "sha256-cdCWpejHNCjyYtIxGms9yaEerRmFnGllUN7+3uQy4mQ=";
};
patches = [