forked from aivarsk/prometheus-tuxedo-exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (30 loc) · 866 Bytes
/
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
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == "publish":
os.system("python setup.py sdist upload")
sys.exit()
setup(
name="prometheus-tuxedo-exporter",
version="1.0.1",
description="A Prometheus exporter of Tuxedo metrics",
long_description=open("README.rst").read(),
author="Aivars Kalvans",
author_email="[email protected]",
url="https://github.com/aivarsk/prometheus-tuxedo-exporter",
scripts=["bin/prometheus-tuxedo-exporter.py"],
install_requires=[
"tuxedo>=1.0.0",
"prometheus_client>=0.8.0",
],
license="MIT",
zip_safe=False,
classifiers=[
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX",
"Programming Language :: Python :: 3",
],
)