-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
executable file
·47 lines (42 loc) · 1.44 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
45
46
47
"""
Library for Prometheus instrumentation in Python/Flask based apps
"""
import re
import ast
from setuptools import setup, find_packages
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('gds_metrics/version.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))
setup(
name='gds-metrics',
version=version,
url='https://github.com/alphagov/gds_metrics_python',
license='MIT',
author='Government Digital Service',
description='Library for Prometheus instrumentation in Python/Flask based apps',
long_description=__doc__,
packages=find_packages(),
include_package_data=True,
install_requires=[
"prometheus_client>=0.2.0,<1.0.0",
"Flask>=0.10",
"blinker>=1.4",
],
# for running pytest as `python setup.py test`, see
# http://doc.pytest.org/en/latest/goodpractices.html#integrating-with-setuptools-python-setup-py-test-pytest-runner
setup_requires=[
'pytest-runner'
],
test_suite="tests",
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: System :: Monitoring",
"License :: OSI Approved :: MIT License",
],
keywords='gds reliability engineering metrics',
)