forked from dschep/ntfy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
75 lines (54 loc) · 1.91 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
from sys import version_info
from setuptools import find_packages, setup
from ntfy import __version__
deps = ['requests', 'ruamel.yaml', 'appdirs']
extra_deps = {
':sys_platform == "win32"': ['pywin32'],
':sys_platform == "darwin"': ['pyobjc-core', 'pyobjc'],
'xmpp': [
'sleekxmpp', 'dnspython' if version_info[0] < 3 else 'dnspython3'],
'telegram': ['telegram-send'],
'instapush': ['instapush'],
'emoji': ['emoji'],
'pid':['psutil'],
'slack':['slacker'],
'rocketchat':['rocketchat-API'],
}
test_deps = ['mock', 'sleekxmpp', 'emoji', 'psutil']
long_description = open('README.rst').read()
setup(
name='ntfy',
version=__version__,
description='A utility for sending push notifications',
long_description=long_description,
url='https://github.com/dschep/ntfy',
author='Daniel Schep',
author_email='[email protected]',
license='GPLv3',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='push notification',
packages=find_packages(exclude=['tests', 'tests.*']),
package_data={'ntfy': ['icon.png', 'icon.ico', 'shell_integration/*.sh']},
install_requires=deps,
extras_require=extra_deps,
tests_require=test_deps,
test_suite='tests',
entry_points={
'console_scripts': [
'ntfy = ntfy.cli:main',
],
},
)