forked from jianfch/stable-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
37 lines (31 loc) · 1009 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import os
from setuptools import setup, find_packages
def version() -> str:
with open(os.path.join(os.path.dirname(__file__), 'stable_whisper/_version.py')) as f:
return f.read().split('=')[-1].strip().strip('"').strip("'")
def read_me() -> str:
with open('README.md', 'r', encoding='utf-8') as f:
return f.read()
setup(
name="stable-ts",
version='0.1.0',
description="Modifies original stable-ts to use silero v3.",
long_description=read_me(),
long_description_content_type='text/markdown',
python_requires=">=3.8",
author="Jian",
url="https://github.com/jianfch/stable-ts",
license="MIT",
packages=find_packages(include=["stable_whisper", "stable_whisper.*"]),
install_requires=[
"numpy",
"torch",
"torchaudio",
"tqdm",
"openai-whisper==20231117"
],
entry_points={
"console_scripts": ["stable-ts=stable_whisper.whisper_word_level:cli"],
},
include_package_data=False
)