forked from mli/autocut
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
37 lines (34 loc) · 856 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
from setuptools import setup, find_packages
requirements = [
"ffmpeg-python",
"moviepy",
"openai-whisper",
"opencc-python-reimplemented",
"parameterized",
"pydub",
"srt",
"torchaudio",
"tqdm",
]
setup(
name="autocut-sub",
install_requires=requirements,
url="https://github.com/mli/autocut",
project_urls={
"source": "https://github.com/mli/autocut",
},
license="Apache License 2.0",
long_description=open("README.md", "r", encoding="utf-8").read(),
long_description_content_type="text/markdown",
extras_require={
"all": ["openai", "faster-whisper"],
"openai": ["openai"],
"faster": ["faster-whisper"],
},
packages=find_packages(),
entry_points={
"console_scripts": [
"autocut = autocut.main:main",
]
},
)