-
Notifications
You must be signed in to change notification settings - Fork 10
/
pyproject.toml
88 lines (78 loc) · 3.07 KB
/
pyproject.toml
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# pyproject.toml file for zhmc-prometheus-exporter
# Documentation:
# pyproject.toml: https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
# setuptools items: https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
[build-system]
requires = [
# Keep in sync with base-requirements.txt and the base dependencies in
# minimum-constraints-install.txt
"setuptools>=70.0.0",
"setuptools-scm[toml]>=8.1.0",
"wheel>=0.38.1"
]
build-backend = "setuptools.build_meta"
[tool.setuptools]
platforms = ["any"]
script-files = []
zip-safe = true
[tool.setuptools.packages.find]
# setuptools needs all sub-packages to be specified as well to avoid the
# ambiguity warning. That can be done by specifyng 'packages' with a full list
# of packages including sub-packages, or by specifying 'packages.find' with
# wildcards. The strings in 'packages.find' are matched using glob pattern
# matching against the package path.
include = [
"zhmc_prometheus_exporter",
"zhmc_prometheus_exporter.*",
"zhmc_prometheus_exporter.vendor",
"zhmc_prometheus_exporter.vendor.prometheus_client",
"zhmc_prometheus_exporter.vendor.prometheus_client.*"
]
[tool.setuptools.package-data]
zhmc_prometheus_exporter = [
"schemas/*.yaml",
"data/*.yaml"
]
[project.scripts]
zhmc_prometheus_exporter = "zhmc_prometheus_exporter.zhmc_prometheus_exporter:main"
[project]
name = "zhmc_prometheus_exporter"
description = "IBM Z HMC Prometheus Exporter"
authors = [
{name = "Jakob Naucke", email = "[email protected]"}
]
maintainers = [
{name = "Andreas Maier", email = "[email protected]"},
{name = "Kathir Velusamy", email = "[email protected]'"}
]
readme = "README.md"
license = {text = "Apache License, Version 2.0"}
keywords = ["hmc", "prometheus", "monitoring"]
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Information Technology",
"Topic :: System :: Systems Administration",
"Environment :: Console",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
requires-python = ">=3.8"
dynamic = ["version", "dependencies", "optional-dependencies"]
[project.urls]
Homepage = "https://github.com/zhmcclient/zhmc-prometheus-exporter"
"Bug Tracker" = "https://github.com/zhmcclient/zhmc-prometheus-exporter/issues"
Documentation = "https://zhmc-prometheus-exporter.readthedocs.io/en/stable/"
"Source Code" = "https://github.com/zhmcclient/zhmc-prometheus-exporter"
Changelog = "https://zhmc-prometheus-exporter.readthedocs.io/en/stable/changes.html"
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
[tool.setuptools_scm]
# Get the version from the Git tag, and write a version file:
version_file = "zhmc_prometheus_exporter/_version_scm.py"