From 45d7579d6b4413cea4ed1bf71b2df84703e212d2 Mon Sep 17 00:00:00 2001 From: makaveli10 Date: Wed, 2 Aug 2023 16:14:50 +0800 Subject: [PATCH] add setup.py --- setup.py | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 setup.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..de5f007 --- /dev/null +++ b/setup.py @@ -0,0 +1,44 @@ +import pathlib +from setuptools import find_packages, setup + +# The directory containing this file +HERE = pathlib.Path(__file__).parent + +# The text of the README file +README = (HERE / "README.md").read_text() + +# This call to setup() does all the work +setup(name="whisper-live", + version="0.0.4", + description="A nearly-live implementation of OpenAI's Whisper.", + long_description=README, + long_description_content_type="text/markdown", + include_package_data=True, + url="https://github.com/collabora/WhisperLive", + author="Collabora Ltd", + author_email="vineet.suryan@collabora.com", + license="MIT", + classifiers=[ + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + ], + packages=find_packages( + exclude=("examples", + "Audio-Transcription-Chrome", + "Audio-Transcription-Firefox", + "requirements", + "whisper-finetuning" + ) + ), + install_requires=[ + "PyAudio", + "faster-whisper==0.6.0", + "torch", + "torchaudio", + "websockets", + "onnxruntime", + "ffmpeg-python", + "scipy", + "websocket-client", + ]) \ No newline at end of file