-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
48 lines (43 loc) · 1.65 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
# -*- coding: utf-8 -*-
from setuptools import setup
VERSION = '0.6.0'
REQUIREMENTS = open('requirements.txt').read().split()
EXTRAS_REQUIRE = {
'quality': ('flake8', 'isort', 'bandit', 'mypy', 'pydocstyle'),
'tests': ('responses', ),
}
LONG_DESCRIPTION = open('README.rst').read() + '\n\n' + open('Changelog.rst').read()
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Internet',
'Topic :: Multimedia :: Video',
'Topic :: Utilities',
]
def main():
setup(name='televize',
version=VERSION,
author='Vlastimil Zíma',
author_email='vlastimil.zima@gmail.com',
description='Script to play Czech Television (Česká televize) streams in custom player.',
long_description=LONG_DESCRIPTION,
url='https://github.com/ziima/televize',
license='GPLv2+',
py_modules=['televize'],
python_requires='>=3.6',
install_requires=REQUIREMENTS,
extras_require=EXTRAS_REQUIRE,
classifiers=CLASSIFIERS,
entry_points={'console_scripts': ['televize = televize:main']})
if __name__ == '__main__':
main()