forked from epoch8/airflow-exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
40 lines (36 loc) · 1.23 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
from os import path
from setuptools import setup
root_dir = path.abspath(path.dirname(__file__))
readme_file = path.join(root_dir, "README.md")
with open(readme_file) as f:
readme = f.read()
setup(
name="airflow-exporter",
use_scm_version=True,
description="Airflow plugin to export dag and task based metrics to Prometheus.",
long_description=readme,
long_description_content_type="text/markdown",
classifiers=[
"Environment :: Web Environment",
"Intended Audience :: System Administrators",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Topic :: System :: Monitoring",
],
keywords="airflow plugin prometheus exporter metrics",
url="https://github.com/epoch8/airflow-exporter",
packages=["airflow_exporter"],
setup_requires=["setuptools_scm"],
install_requires=[
"apache-airflow>=2.0.0",
"prometheus_client>=0.4.2",
],
entry_points={
"airflow.plugins": [
"AirflowPrometheus = airflow_exporter.prometheus_exporter:AirflowPrometheusPlugins"
]
},
)