-
Notifications
You must be signed in to change notification settings - Fork 69
/
setup.py
executable file
·47 lines (42 loc) · 1.38 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
#!/usr/bin/python
# -*- coding: utf-8 -*-
import sys
from setuptools import setup, find_packages
README = ''
try:
f = open('README.rst')
README = f.read()
f.close()
except:
pass
REQUIRES = ['chardet']
if sys.version_info < (2, 7):
REQUIRES.append('argparse')
setup(name='pysrt',
version='1.1.2',
author='Jean Boussier',
author_email='[email protected]',
packages=['pysrt'],
description = "SubRip (.srt) subtitle parser and writer",
long_description=README,
install_requires=REQUIRES,
entry_points={'console_scripts': ['srt = pysrt.commands:main']},
license="GPLv3",
platforms=["Independent"],
keywords="SubRip srt subtitle",
url="https://github.com/byroot/pysrt",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Topic :: Multimedia :: Video",
"Topic :: Software Development :: Libraries",
"Topic :: Text Processing :: Markup",
]
)