forked from arachnys/cabot
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
36 lines (32 loc) · 1.07 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/usr/bin/env python
import os
from setuptools import setup, find_packages
from os import environ as env
import subprocess
from pip.req import parse_requirements
requirements = [str(req.req) for req in parse_requirements('requirements.txt', session=False)]
requirements_plugins = [str(req.req) for req in parse_requirements('requirements-plugins.txt', session=False)]
try:
VERSION = subprocess.check_output(['git', 'describe', '--tags']).strip()
except subprocess.CalledProcessError:
VERSION = '0.dev'
setup(
name='cabot',
version=VERSION,
description="Self-hosted, easily-deployable monitoring and alerts service"
" - like a lightweight PagerDuty",
long_description=open('README.md').read(),
author="Arachnys",
author_email='[email protected]',
url='http://cabotapp.com',
license='MIT',
install_requires=requirements + requirements_plugins,
packages=find_packages(),
include_package_data=True,
entry_points={
'console_scripts': [
'cabot = cabot.entrypoint:main',
],
},
zip_safe=False
)