forked from linkedin/oncall
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
77 lines (73 loc) · 2.16 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 -*-
import setuptools
import re
with open('src/oncall/__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='oncall',
version=version,
description='Oncall is a calendar tool designed for scheduling and managing on-call shifts',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/linkedin/oncall',
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=[
'falcon==3.1.1',
'falcon-cors',
'greenlet==2.0.1',
'gevent==22.10.2',
'asn1crypto==1.0.0',
'ujson',
'markupsafe==2.0.1',
'sqlalchemy<2.0.0',
'PyYAML',
'PyMYSQL',
'phonenumbers',
'jinja2==3.0.3',
'webassets',
'beaker',
'cryptography==3.1',
'python-ldap',
'pytz',
'irisclient',
'slackclient==1.3.1',
'icalendar',
'pymsteams',
'idna==2.10'
],
extras_require={
'ldap': ['python-ldap'],
'prometheus': ['prometheus_client'],
'dev': [
'pytest==7.1.2',
'pytest-mock',
'requests',
'gunicorn==20.1.0',
'flake8==6.0.0',
'Sphinx==1.5.6',
'sphinxcontrib-httpdomain',
'sphinx_rtd_theme',
'sphinx-autobuild',
],
},
entry_points={
'console_scripts': [
'oncall-dev = oncall.bin.run_server:main',
'oncall-user-sync = oncall.bin.user_sync:main',
'build_assets = oncall.bin.build_assets:main',
'oncall-scheduler = oncall.bin.scheduler:main',
'oncall-notifier = oncall.bin.notifier:main'
]
}
)