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

47 lines
1.1 KiB
Python
Raw Normal View History

2017-05-02 15:57:25 -07:00
#!/usr/bin/env python
# -*- coding:utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
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)
setup(
name='oncall',
version=version,
packages=['oncall'],
package_dir={'': 'src'},
2017-05-02 16:39:46 -07:00
install_requires=[
'falcon==1.1.0',
'falcon-cors',
'gevent',
'ujson',
'sqlalchemy',
'PyYAML',
'PyMYSQL',
'phonenumbers',
'jinja2',
'streql',
'webassets',
'beaker',
'pycrypto',
'python-ldap',
'pytz',
'irisclient',
'slackclient',
2017-05-02 16:39:46 -07:00
],
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'
]
}
)