1
0
mirror of https://github.com/linkedin/oncall.git synced 2025-11-25 23:02:31 +02:00
Files
oncall/setup.py

78 lines
2.2 KiB
Python
Raw Normal View History

2017-05-02 15:57:25 -07:00
#!/usr/bin/env python
# -*- coding:utf-8 -*-
2017-05-23 15:30:57 -07:00
import setuptools
2017-05-02 15:57:25 -07:00
import re
2017-05-02 16:39:46 -07:00
2017-05-02 15:57:25 -07:00
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()
2017-05-23 15:30:57 -07:00
setuptools.setup(
2017-05-02 15:57:25 -07:00
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'
],
2017-05-02 15:57:25 -07:00
package_dir={'': 'src'},
2017-05-19 18:07:35 -07:00
packages=setuptools.find_packages('src'),
include_package_data=True,
2017-05-02 16:39:46 -07:00
install_requires=[
'falcon==3.1.1',
2017-05-02 16:39:46 -07:00
'falcon-cors',
'greenlet==2.0.1',
'gevent==22.10.2',
'asn1crypto==1.0.0',
2017-05-02 16:39:46 -07:00
'ujson',
2022-05-09 09:39:09 -07:00
'markupsafe==2.0.1',
'sqlalchemy<2.0.0',
2017-05-02 16:39:46 -07:00
'PyYAML',
'PyMYSQL',
'phonenumbers',
'jinja2==3.0.3',
2017-05-02 16:39:46 -07:00
'webassets',
'beaker',
2024-03-12 15:57:32 -05:00
'cryptography==42.0.5',
2017-05-02 16:39:46 -07:00
'python-ldap',
'pytz',
'irisclient',
'slackclient==1.3.1',
'icalendar',
'pymsteams',
'idna==2.10'
2017-05-02 16:39:46 -07:00
],
2017-07-12 18:14:52 -07:00
extras_require={
'ldap': ['python-ldap'],
'prometheus': ['prometheus_client'],
2017-07-12 18:14:52 -07:00
'dev': [
'pytest==7.1.2',
2017-07-12 18:14:52 -07:00
'pytest-mock',
'requests',
'gunicorn==20.1.0',
'flake8==6.0.0',
2017-07-12 18:14:52 -07:00
'Sphinx==1.5.6',
'sphinxcontrib-httpdomain',
'sphinx_rtd_theme',
'sphinx-autobuild',
],
},
2017-05-02 15:57:25 -07:00
entry_points={
'console_scripts': [
'oncall-dev = oncall.bin.run_server:main',
'oncall-user-sync = oncall.bin.user_sync:main',
2017-05-02 15:57:25 -07:00
'build_assets = oncall.bin.build_assets:main',
'oncall-scheduler = oncall.bin.scheduler:main',
'oncall-notifier = oncall.bin.notifier:main'
]
}
)