-
Notifications
You must be signed in to change notification settings - Fork 41
/
setup.py
30 lines (27 loc) · 1.09 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
import sys
from setuptools import setup
if sys.version_info.major < 3:
raise RuntimeError('Installing requires Python 3 or newer')
# Read the long description from README.md
with open('README.md') as file:
long_description = file.read()
setup(
name = 'prometheus-pgbouncer-exporter',
packages = ['prometheus_pgbouncer_exporter'],
version = '1.0.1',
description = 'Prometheus exporter for PgBouncer',
long_description = long_description,
author = 'Marco Pracucci',
author_email = '[email protected]',
url = 'https://github.com/spreaker/prometheus-pgbouncer-exporter',
download_url = 'https://github.com/spreaker/prometheus-pgbouncer-exporter/archive/1.0.1.tar.gz',
keywords = ['prometheus', 'pgbouncer'],
classifiers = [],
python_requires = ' >= 3',
install_requires = ['psycopg2 == 2.7.3.2', 'prometheus_client==0.0.21', 'python-json-logger==0.1.5', 'PyYAML==3.12'],
entry_points = {
'console_scripts': [
'pgbouncer-exporter=prometheus_pgbouncer_exporter.cli:main',
]
}
)