mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-15 06:06:12 -06:00
82 lines
2.5 KiB
TOML
82 lines
2.5 KiB
TOML
[build-system]
|
|
requires = ["setuptools"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "nvitop"
|
|
description = "An interactive NVIDIA-GPU process viewer, the one-stop solution for GPU process management."
|
|
readme = "README.md"
|
|
requires-python = ">= 3.5"
|
|
authors = [{ name = "Xuehai Pan", email = "XuehaiPan@pku.edu.cn" }]
|
|
license = { text = "Apache License, Version 2.0 (Apache-2.0) & GNU General Public License, version 3 (GPLv3)" }
|
|
keywords = [
|
|
"nvidia",
|
|
"nvidia-smi",
|
|
"NVIDIA",
|
|
"NVML",
|
|
"CUDA",
|
|
"GPU",
|
|
"top",
|
|
"monitoring",
|
|
]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.5",
|
|
"Programming Language :: Python :: 3.6",
|
|
"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",
|
|
"Operating System :: Microsoft :: Windows",
|
|
"Operating System :: POSIX :: Linux",
|
|
"Environment :: GPU",
|
|
"Environment :: GPU :: NVIDIA CUDA",
|
|
"Environment :: Console",
|
|
"Environment :: Console :: Curses",
|
|
"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
|
|
"nvidia-ml-py >= 11.450.51, < 11.516.0a0",
|
|
"psutil >= 5.6.6",
|
|
"cachetools >= 1.0.1",
|
|
"termcolor >= 1.0.0",
|
|
"colorama >= 0.4.0; platform_system == 'Windows'",
|
|
"windows-curses >= 2.2.0; platform_system == 'Windows'",
|
|
]
|
|
dynamic = ["version", "optional-dependencies"]
|
|
|
|
[project.scripts]
|
|
nvitop = "nvitop.cli:main"
|
|
nvisel = "nvitop.select: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", "nvitop.*"]
|
|
|
|
[tool.black]
|
|
line-length = 100
|
|
skip-string-normalization = true
|
|
target-version = ["py35", "py36", "py37", "py38", "py39", "py310", "py311"]
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
src_paths = ["nvitop"]
|
|
indent = 4
|
|
line_length = 100
|
|
lines_after_imports = 2
|
|
multi_line_output = 3
|