mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-16 14:16:00 -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
|
indent_size = 4
|
||||||
x-soft-wrap-text = true
|
x-soft-wrap-text = true
|
||||||
|
|
||||||
[{*.,}{Dockerfile,dockerfile}{*.,}]
|
[Dockerfile,{*.,}dockerfile{*.,}]
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
|
|
||||||
[Makefile]
|
[Makefile]
|
||||||
|
|
|
||||||
2
setup.py
2
setup.py
|
|
@ -73,6 +73,8 @@ def vcs_version(name: str, path: Path | str) -> Generator[ModuleType]:
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
extra_requirements = {
|
extra_requirements = {
|
||||||
|
'exporter': ['nvitop-exporter'],
|
||||||
|
'prometheus': ['nvitop-exporter'],
|
||||||
'lint': [
|
'lint': [
|
||||||
'ruff',
|
'ruff',
|
||||||
'pylint[spelling]',
|
'pylint[spelling]',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue