forked from dschep/ntfy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
70 lines (49 loc) · 1.71 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
from setuptools import setup, find_packages
from sys import version_info
from ntfy import __version__
deps = ['requests', 'ruamel.yaml', 'appdirs']
extra_deps = {
':sys_platform == "win32"': ['pypiwin32==219'],
':sys_platform == "darwin"': ['pyobjc-core', 'pyobjc'],
'xmpp': [
'sleekxmpp', 'dnspython' if version_info[0] < 3 else 'dnspython3'],
'telegram': ['telegram-send'],
'emoji': ['emoji'],
'pid':['psutil'],
'slack':['slacker'],
}
test_deps = ['mock', 'sleekxmpp', 'emoji', 'psutil']
setup(
name='ntfy',
version=__version__,
description='A utility for sending push notifications',
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 :: 4 - Beta',
'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',
],
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',
],
},
)