-
Notifications
You must be signed in to change notification settings - Fork 139
/
setup.py
96 lines (92 loc) · 2.87 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# Copyright (c) LinkedIn Corporation. All rights reserved. Licensed under the BSD-2 Clause license.
# See LICENSE in the project root for license information.
import setuptools
import re
with open('src/iris/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1)
with open('README.md', 'r') as fd:
long_description = fd.read()
setuptools.setup(
name='irisapi',
version=version,
description='Iris is a highly configurable and flexible service for paging and messaging.',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/linkedin/iris',
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 3'
],
package_dir={'': 'src'},
packages=setuptools.find_packages('src'),
include_package_data=True,
install_requires=[
'streql==3.0.2',
'dnspython',
'phonenumbers==7.4.1',
'twilio==6.25.0',
'google-api-python-client==1.4.2',
'oauth2client==1.4.12',
'slackclient',
'PyYAML',
'greenlet==0.4.16',
'gevent==1.5.0',
'falcon==1.4.1',
'falcon-cors',
'ujson==1.35',
'requests',
'PyMySQL==0.9.3',
'SQLAlchemy==1.3.0',
'Jinja2',
'Markdown',
'click',
'msgpack==1.0.0',
'cssmin',
'beaker',
'cryptography==3.2',
'webassets',
'python-ldap==3.1.0',
'exchangelib==2.2.0',
'setproctitle',
'pyfcm==1.4.3',
'oncallclient==1.1.0',
'idna==3.0',
'pyqrcode==1.2.1',
'plivo==4.18.1'
],
extras_require={
'kazoo': ['kazoo==2.6.1'],
# plugin deps
'influxdb': ['influxdb'],
'prometheus': ['prometheus_client'],
'dev': [
'gunicorn',
'Sphinx==1.5.6',
'sphinxcontrib-httpdomain',
'sphinx_rtd_theme',
# test deps
'mock==2.0.0',
'pytest==5.2.0',
'pytest-mock==1.5.0',
'pytest-cov',
'flake8==3.5.0',
'tox',
'requests-mock==1.1.0',
],
},
entry_points={
'console_scripts': [
'iris-dev = iris.bin.run_server:main',
'iris = iris.bin.run_server:main',
'iris-sender = iris.bin.sender:main',
'iris-owa-sync = iris.bin.owasync:main',
'iris-sync-targets = iris.bin.sync_targets:main',
'iris-process-retention = iris.bin.retention:main',
'iris-app-stats = iris.bin.app_stats:main',
'iris_ctl = iris.bin.iris_ctl:main',
'build_assets = iris.bin.ui_build_assets:main',
]
}
)