From 84122de339279e6a889417a0d7e6afdd2295b13e Mon Sep 17 00:00:00 2001 From: makaveli10 Date: Fri, 13 Oct 2023 16:13:49 +0800 Subject: [PATCH] add version --- setup.py | 4 +++- whisper_live/__version__.py | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 whisper_live/__version__.py diff --git a/setup.py b/setup.py index 1b23d24..64cdccf 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,7 @@ import pathlib from setuptools import find_packages, setup +from mypackage.__version__ import __version__ + # The directory containing this file HERE = pathlib.Path(__file__).parent @@ -9,7 +11,7 @@ README = (HERE / "README.md").read_text() # This call to setup() does all the work setup(name="whisper-live", - version="0.0.6", + version=__version__, description="A nearly-live implementation of OpenAI's Whisper.", long_description=README, long_description_content_type="text/markdown", diff --git a/whisper_live/__version__.py b/whisper_live/__version__.py new file mode 100644 index 0000000..10ce742 --- /dev/null +++ b/whisper_live/__version__.py @@ -0,0 +1 @@ +__version__="0.0.7" \ No newline at end of file