mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-15 06:06:12 -06:00
feat(exporter): add exporter and prometheus extras for nvitop PyPI package
This commit is contained in:
parent
07c4819e1b
commit
5a4f1d52ea
2 changed files with 3 additions and 1 deletions
|
|
@ -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]
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -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]',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue