feat(exporter): add exporter and prometheus extras for nvitop PyPI package

This commit is contained in:
Xuehai Pan 2025-11-16 14:02:52 +08:00
parent 07c4819e1b
commit 5a4f1d52ea
2 changed files with 3 additions and 1 deletions

View file

@ -24,7 +24,7 @@ x-soft-wrap-text = true
indent_size = 4
x-soft-wrap-text = true
[{*.,}{Dockerfile,dockerfile}{*.,}]
[Dockerfile,{*.,}dockerfile{*.,}]
indent_size = 2
[Makefile]

View file

@ -73,6 +73,8 @@ def vcs_version(name: str, path: Path | str) -> Generator[ModuleType]:
if __name__ == '__main__':
extra_requirements = {
'exporter': ['nvitop-exporter'],
'prometheus': ['nvitop-exporter'],
'lint': [
'ruff',
'pylint[spelling]',