-
Notifications
You must be signed in to change notification settings - Fork 14
/
setup.py
44 lines (37 loc) · 1.39 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
#!/usr/bin/env python
from setuptools import setup
from supervisor_alert import __version__
try:
import pypandoc
import re
long_description = pypandoc.convert("README.md", "rst")
# remove raw html blocks, they're not supported on pypi
long_description = re.sub("\s+\.\. raw:: html\s*.+? -->", "", long_description, count=2)
except:
long_description = ""
setup(
name="supervisor-alert",
version=__version__,
description="Receive notifications for Supervisor process events.",
long_description=long_description,
url="https://github.com/rahiel/supervisor-alert",
license="Apache-2.0",
py_modules=["supervisor_alert"],
entry_points={"console_scripts": ["supervisor-alert=supervisor_alert:main"]},
author="Rahiel Kasim",
author_email="rahielkasim@gmail.com",
classifiers=[
"Development Status :: 4 - Beta",
# "Development Status :: 5 - Production/Stable",
# "Development Status :: 6 - Mature",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX",
"Programming Language :: Python :: 2.7",
"Topic :: System :: Monitoring",
"Topic :: System :: Systems Administration",
],
keywords="supervisor alert event listener notify"
)