mirror of
https://github.com/alerta/alerta-contrib.git
synced 2025-03-17 05:52:38 +00:00

* alerta-mailer now has unit tests using py.test * rules should be ported to new JSON format
36 lines
880 B
Python
36 lines
880 B
Python
#!/usr/bin/env python
|
|
|
|
import setuptools
|
|
|
|
version = '3.4.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',
|
|
'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',
|
|
]
|
|
)
|