-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
53 lines (49 loc) · 1.74 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
50
51
52
53
# vim: set ts=2 expandtab:
from setuptools import setup
#version 0.1: Initial version
#version 0.2: Added simple parsing of .ts files
#version 0.3: Added ts2ass tool
#version 0.4: Added autosub tool
#version 0.5: Improved ts2ass tool
#version 0.55: Removed autosub tool, automated PID handling
#version 0.56: Better file writing and messages.
#version 0.57: Fixes for issues 13, 14
#version 0.58: fix for vertical position in some cases
#version 0.6.1: Performance improvements
#version 0.6.2: Numerous fixes and initial DRCS parsing
#version 0.6.3: Basic management data handling and language detection.
#version 0.6.4: Fixes to issues #27, #33 (subtitle positions in generatd .ass files).
#version 0.6.5: Fixes for issues #41, #43, #44: General file handling
def readme():
with open('README.md') as f:
return f.read()
def requirements():
with open('requirements.txt') as f:
return f.read().splitlines()
setup(name='arib',
version='0.6.5',
description='Japan Association of Radio Industries and Businesses (ARIB) MPEG2 Transport Stream Closed Caption Decoding Tools',
long_description = readme(),
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Topic :: Multimedia :: Sound/Audio :: Conversion',
],
keywords = 'Japanese Closed Caption arib b-24 MPEG TS PES',
url='https://github.com/johnoneil/arib',
author='John O\'Neil',
author_email='[email protected]',
license='MIT',
packages=[
'arib',
],
install_requires = requirements(),
entry_points = {
'console_scripts': [
'arib-ts2ass=arib.ts2ass:main',
'arib-ts-extract=arib.ts_extract:main',
'arib-es-extract=arib.es_extract:main',
],
},
zip_safe=True)