forked from idealista/prom2teams
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
58 lines (50 loc) · 1.63 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
from setuptools import setup, find_packages
with open('requirements.txt') as req:
requirements = req.read().splitlines()
with open('README.md') as f:
try:
import pypandoc
readme = pypandoc.convert('README.md', 'rst')
except (IOError, ImportError) as error:
readme = open('README.md').read()
with open('LICENSE') as f:
license = f.read()
setup(name='prom2teams',
version='2.2.0',
description='Project that redirects Prometheus Alert Manager '
'notifications to Microsoft Teams',
long_description=readme,
install_requires=requirements,
setup_requires=[
'flake8',
'pypandoc'
],
scripts=[
'bin/prom2teams',
'bin/prom2teams_uwsgi'
],
package_data={
'': ['*.ini', '*.j2'],
},
include_package_data=True,
data_files=[
('/usr/local/etc/prom2teams', ['bin/wsgi.py'])
],
url='http://github.com/idealista/prom2teams',
author='Idealista, S.A.U',
author_email='labs@idealista.com',
license=license,
packages=find_packages(exclude=('tests', 'docs')),
keywords='microsoft teams prometheus alert',
classifiers=[
'Development Status :: 4 - Beta',
'Topic :: Utilities',
'Topic :: Communications :: Chat',
'License :: OSI Approved :: Apache Software License',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6'
],
zip_safe=False)