-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
77 lines (71 loc) · 2.67 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
__title__ = 'pdeo'
__version__ = '0.0.1'
__author__ = 'Piotr Staroszczyk'
__author_email__ = '[email protected]'
__license__ = 'GNU GPL v3'
__copyright__ = 'Copyright 2017 Piotr Staroszczyk'
packages = [
__title__,
f'{__title__}.databases',
f'{__title__}.providers',
# f'{__title__}.modules',
]
with open('requirements.txt') as f:
requires = f.read().splitlines()
with open('README.rst') as f1:
with open('CHANGELOG.rst') as f2:
long_desc = f1.read() + '\n\n' + f2.read()
setup(
name=__title__,
version=__version__,
description=f'{__title__} is a very simple alternative for radarr/couchpotato - automatically downloading movies from torrent.',
long_description=long_desc,
author=__author__,
author_email=__author_email__,
url=f'https://github.com/oczkers/{__title__}',
download_url=f'https://github.com/oczkers/{__title__}/releases',
bugtrack_url=f'https://github.com/oczkers/{__title__}/issues',
platforms='any',
keywords=f'{__title__} download torrent movies',
packages=packages,
package_data={'': ['LICENSE']},
package_dir={__title__: __title__},
include_package_data=True,
install_requires=requires,
# license=open('LICENSE').read(),
license=__license__,
classifiers=[
'Development Status :: 3 - Alpha',
# 'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
# 'Programming Language :: Python :: 3.0', # not tested
# 'Programming Language :: Python :: 3.1', # not tested
# 'Programming Language :: Python :: 3.2', # dropped due requests incomapitibility
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: Implementation :: CPython',
# 'Programming Language :: Python :: Implementation :: IronPython', # not tested
'Programming Language :: Python :: Implementation :: PyPy',
],
entry_points={
'console_scripts': [
'pdeo = pdeo.cli:__main__',
]
}
)