forked from jianfch/stable-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
29 lines (23 loc) · 758 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
from setuptools import setup
def version() -> str:
with open('./stable_whisper/_version.py') as f:
return f.read().split('=')[-1].strip().strip('"').strip("'")
def read_me() -> str:
with open('README.md', 'r') as f:
return f.read()
setup(
name="stable-ts",
version=version(),
description="Stabilizing timestamps of OpenAI's Whisper outputs down to word-level.",
long_description=read_me(),
long_description_content_type='text/markdown',
python_requires=">=3.7",
author="Jian",
url="https://github.com/jianfch/stable-ts",
license="MIT",
packages=['stable_whisper'],
install_requires=[
"whisper @ git+https://github.com/openai/whisper.git"
],
include_package_data=False
)