You've already forked oncall
mirror of
https://github.com/linkedin/oncall.git
synced 2025-11-26 23:10:47 +02:00
initial commit
This commit is contained in:
25
setup.py
Normal file
25
setup.py
Normal file
@@ -0,0 +1,25 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding:utf-8 -*-
|
||||
|
||||
try:
|
||||
from setuptools import setup
|
||||
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)
|
||||
|
||||
setup(
|
||||
name='oncall',
|
||||
version=version,
|
||||
packages=['oncall'],
|
||||
package_dir={'': 'src'},
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'build_assets = oncall.bin.build_assets:main',
|
||||
'oncall-scheduler = oncall.bin.scheduler:main',
|
||||
'oncall-notifier = oncall.bin.notifier:main'
|
||||
]
|
||||
}
|
||||
)
|
||||
Reference in New Issue
Block a user