-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
44 lines (39 loc) · 1.54 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, 10):
print('wandarr requires at least Python 3.10 to run.')
sys.exit(1)
with open(os.path.join('wandarr', '__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='wandarr',
version=version,
python_requires='>=3.10',
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/wandarr',
data_files=[('share/doc/wandarr', ['README.md', 'Cluster.md', 'config-samples/wandarr.yml' ])],
packages=['wandarr'],
install_requires=['pyyaml >= 6.0', 'rich >= 13.5.3'],
entry_points={"console_scripts": ["wandarr=wandarr: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',
],
keywords='ffmpeg qsv cuda encode transcode',
)