forked from agermanidis/autosub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
27 lines (24 loc) · 1.24 KB
/
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
#!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
long_description = 'Autosub is a utility for automatic speech recognition and subtitle generation. It takes a video or an audio file as input, performs voice activity detection to find speech regions, makes parallel requests to Google Web Speech API to generate transcriptions for those regions, (optionally) translates them to a different language, and finally saves the resulting subtitles to disk. It supports a variety of input and output languages (to see which, run the utility with --list-src-languages and --list-dst-languages as arguments respectively) and can currently produce subtitles in either the SRT format or simple JSON.'
setup(
name='autosub',
version='0.3.5',
description='Auto-generates subtitles for any video or audio file',
long_description=long_description,
author='Anastasis Germanidis',
author_email='agermanidis@gmail.com',
url='https://github.com/agermanidis/autosub',
packages=['autosub'],
scripts=['bin/autosub'],
install_requires=[
'goslate>=1.4.0',
'requests>=2.3.0',
'pysrt>=1.0.1',
'progressbar>=2.3'
],
license=open("LICENSE").read()
)