1
0
mirror of https://github.com/linkedin/oncall.git synced 2025-11-25 23:02:31 +02:00
Files
oncall/setup.py
dependabot[bot] e5b75accb7 Bump cryptography from 2.3 to 3.2 (#325)
Bumps [cryptography](https://github.com/pyca/cryptography) from 2.3 to 3.2.
- [Release notes](https://github.com/pyca/cryptography/releases)
- [Changelog](https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/2.3...3.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-22 16:01:33 -08:00

78 lines
2.1 KiB
Python

#!/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==1.4.1',
'falcon-cors',
'greenlet==0.4.16',
'asn1crypto==1.0.0',
'gevent==1.4.0',
'ujson',
'sqlalchemy',
'PyYAML',
'PyMYSQL',
'phonenumbers',
'jinja2',
'streql',
'webassets',
'beaker',
'cryptography==3.2',
'python-ldap',
'pytz',
'irisclient',
'slackclient==1.3.1',
'icalendar',
'pymsteams',
'idna==2.10'
],
extras_require={
'ldap': ['python-ldap'],
'prometheus': ['prometheus_client'],
'dev': [
'pytest',
'pytest-mock',
'requests',
'gunicorn',
'flake8',
'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'
]
}
)