forked from mli/autocut
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
29 lines (26 loc) · 648 Bytes
/
Copy pathsetup.py
File metadata and controls
29 lines (26 loc) · 648 Bytes
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, find_packages
import os
requirements = [
'srt',
'moviepy',
'opencc-python-reimplemented',
'whisper @ git+https://github.com/openai/whisper.git'
]
init_fn = os.path.join(os.path.dirname(__file__), 'autocut', '__init__.py')
with open(init_fn) as f:
for l in f.readlines():
if '__version__' in l:
exec(l)
break
setup(
name='autocut',
version=__version__,
install_requires=requirements,
python_requires='>=3.9',
packages=find_packages(),
entry_points={
'console_scripts': [
'autocut = autocut.main:main',
]
},
)