1
0
mirror of https://github.com/linkedin/oncall.git synced 2025-11-27 23:18:38 +02:00

update setup.py

This commit is contained in:
Damien Nozay
2017-05-02 16:39:46 -07:00
committed by Qingping Hou
parent 6810af1767
commit f782bdeda3
4 changed files with 24 additions and 27 deletions

View File

@@ -6,7 +6,7 @@ try:
except ImportError:
from distutils.core import setup
import re
o
with open('src/oncall/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1)
@@ -15,6 +15,23 @@ setup(
version=version,
packages=['oncall'],
package_dir={'': 'src'},
install_requires=[
'falcon==1.1.0',
'falcon-cors',
'gevent',
'ujson',
'sqlalchemy',
'PyYAML',
'PyMYSQL',
'phonenumbers',
'jinja2',
'streql',
'webassets',
'beaker',
'pycrypto',
'python-ldap',
'pytz',
],
entry_points={
'console_scripts': [
'build_assets = oncall.bin.build_assets:main',