-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
49 lines (42 loc) · 1.52 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Installer for srtsync
"""
from setuptools import setup, find_packages
import srtsync
setup(
description="Automatic synchronizer of subtitles based on video or other subtitle",
long_description=open('README.md').read(),
url='https://github.com/pums974/srtsync',
author="Alexandre Poux",
author_email="pums974@gmail.com",
name='srtsync',
version=srtsync.__version__,
packages=find_packages(),
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Development Status :: 4 - Beta",
"Environment :: Console",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Intended Audience :: End Users/Desktop",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Multimedia :: Video",
"Topic :: Utilities"
],
install_requires=['pysrt', 'numpy', 'scipy'],
extras_require={
'accurate detection of video file': ["pymediainfo"],
'for voice activity detection (required for sync from video)': ["webrtcvad"],
},
python_requires='>=3.6',
include_package_data=True,
entry_points={
'console_scripts': [
'srtsync = srtsync.main:main',
],
},
)