-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
84 lines (77 loc) · 2.25 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "nvitop-exporter"
description = "Prometheus exporter built on top of `nvitop`."
readme = "README.md"
requires-python = ">= 3.7"
authors = [{ name = "Xuehai Pan", email = "[email protected]" }]
license = { text = "Apache License, Version 2.0 (Apache-2.0)" }
keywords = [
"nvidia",
"nvidia-smi",
"NVIDIA",
"NVML",
"CUDA",
"GPU",
"top",
"monitoring",
"prometheus",
"Prometheus",
"grafana",
"Grafana",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"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",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Environment :: GPU",
"Environment :: GPU :: NVIDIA CUDA",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: System Administrators",
"Topic :: System :: Hardware",
"Topic :: System :: Monitoring",
"Topic :: System :: Systems Administration",
"Topic :: Utilities",
]
dependencies = [
# Sync with nvitop/version.py and requirements.txt
"nvitop == 1.3.2",
"prometheus-client >= 0.4.0",
]
dynamic = ["version"]
[project.scripts]
nvitop-exporter = "nvitop_exporter.cli:main"
[project.urls]
Homepage = "https://github.com/XuehaiPan/nvitop"
Repository = "https://github.com/XuehaiPan/nvitop"
Documentation = "https://nvitop.readthedocs.io"
"Bug Report" = "https://github.com/XuehaiPan/nvitop/issues"
[tool.setuptools.packages.find]
include = ["nvitop_exporter", "nvitop_exporter.*"]
[tool.black]
safe = true
line-length = 100
skip-string-normalization = true
target-version = ["py37"]
[tool.isort]
atomic = true
profile = "black"
src_paths = ["nvitop_exporter"]
known_first_party = ["nvitop", "nvitop_exporter"]
indent = 4
line_length = 100
lines_after_imports = 2
multi_line_output = 3
[tool.ruff]
extend = "../pyproject.toml"