
* Fix parsing multiple config files. * Fix missing parenthesis + fix path to alerta.rules.d like mentionned in README.md. * Extend the list, do not append to it ! * Return empty tupe to permit the use of list.extend later. * Bump to version 5.2.0
36 lines
887 B
Python
36 lines
887 B
Python
#!/usr/bin/env python
|
|
|
|
import setuptools
|
|
|
|
version = '5.2.0'
|
|
|
|
setuptools.setup(
|
|
name="alerta-mailer",
|
|
version=version,
|
|
description='Send emails from Alerta',
|
|
url='https://github.com/alerta/alerta-contrib',
|
|
license='MIT',
|
|
author='Nick Satterly',
|
|
author_email='nick.satterly@theguardian.com',
|
|
py_modules=['mailer'],
|
|
data_files=[('.', ['email.tmpl', 'email.html.tmpl'])],
|
|
setup_requires=['pytest-runner'],
|
|
tests_require=['pytest', 'mock', 'pytest-capturelog'],
|
|
install_requires=[
|
|
'alerta>=5.0.2',
|
|
'kombu',
|
|
'redis',
|
|
'jinja2'
|
|
],
|
|
include_package_data=True,
|
|
zip_safe=False,
|
|
entry_points={
|
|
'console_scripts': [
|
|
'alerta-mailer = mailer:main'
|
|
]
|
|
},
|
|
keywords="alerta monitoring mailer sendmail smtp",
|
|
classifiers=[
|
|
'Topic :: System :: Monitoring',
|
|
]
|
|
)
|