-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsetup.py
27 lines (23 loc) · 877 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
"""Set up prometheus_juju_exporter python module cli scripts."""
from setuptools import setup
with open("README.md", encoding="utf-8") as f:
readme = f.read()
with open("LICENSE", encoding="utf-8") as f:
project_license = f.read()
setup(
name="prometheus_juju_exporter",
use_scm_version={"local_scheme": "node-and-date"},
description="collects and exports juju machine status metrics",
long_description=readme,
author="Canonical BootStack DevOps Centres",
url="https://github.com/canonical/prometheus-juju-exporter",
license=project_license,
packages=["prometheus_juju_exporter"],
package_data={"prometheus_juju_exporter": ["config_default.yaml"]},
entry_points={
"console_scripts": [
"prometheus-juju-exporter=prometheus_juju_exporter.cli:main",
]
},
setup_requires=["setuptools_scm"],
)