-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathsetup.py
44 lines (39 loc) · 1.7 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
import setuptools
import sys
import re
import os
if sys.version_info < (3, 7):
print('pytranscoder requires at least Python 3.7 to run.')
sys.exit(1)
with open(os.path.join('pytranscoder', '__init__.py'), encoding='utf-8') as f:
version = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", f.read(), re.M).group(1)
with open('README.md', 'r') as fh:
long_description = fh.read()
setuptools.setup(
name='pytranscoder-ffmpeg',
version=version,
python_requires='>=3.7',
author='Marshall L Smith Jr',
author_email='[email protected]',
description='A ffmpeg workflow manager for transcoding',
long_description = long_description,
long_description_content_type = 'text/markdown',
# extras_require={'with_plexapi': ['plexapi>=3.1.0']},
url='https://github.com/mlsmithjr/transcoder',
data_files=[('share/doc/pytranscoder', ['README.md', 'Cluster.md', 'config-samples/transcode.yml', 'config-samples/simple.yml', 'config-samples/cluster-sample.yml', 'config-samples/transcode-sample2.yml' ])],
packages=['pytranscoder'],
install_requires=['pyyaml >= 5.1', 'crayons'],
entry_points={"console_scripts": ["pytranscoder=pytranscoder.transcode:main"]},
classifiers=[
'Programming Language :: Python :: 3',
'Environment :: Console',
'Topic :: Multimedia :: Video :: Conversion',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Intended Audience :: End Users/Desktop',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows :: Windows 10',
],
keywords='ffmpeg qsv cuda encode transcode',
)