You've already forked oncall
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:
committed by
Qingping Hou
parent
6810af1767
commit
f782bdeda3
@@ -7,8 +7,8 @@ Initial setup
|
||||
Install dependencies:
|
||||
|
||||
```
|
||||
pip install -r requirements.txt
|
||||
python setup.py develop
|
||||
pip install -r dev_requirements.txt
|
||||
```
|
||||
|
||||
Setup mysql schema:
|
||||
|
||||
5
dev_requirements.txt
Normal file
5
dev_requirements.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
pytest
|
||||
pytest-mock
|
||||
requests
|
||||
gunicorn
|
||||
flake8
|
||||
@@ -1,25 +0,0 @@
|
||||
falcon==1.1.0
|
||||
falcon-cors
|
||||
gevent
|
||||
ujson
|
||||
sqlalchemy
|
||||
PyYAML
|
||||
PyMYSQL
|
||||
phonenumbers
|
||||
jinja2
|
||||
streql
|
||||
webassets
|
||||
beaker
|
||||
pycrypto
|
||||
importlib
|
||||
python-ldap
|
||||
ordereddict # for 26
|
||||
pytz
|
||||
icalendar
|
||||
|
||||
# for dev, also yum install sqlite-devel
|
||||
pytest
|
||||
pytest-mock
|
||||
requests
|
||||
gunicorn
|
||||
flake8
|
||||
19
setup.py
19
setup.py
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user