mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-15 14:15:55 -06:00
chore(pyproject.toml): enable PEP-639
This commit is contained in:
parent
a39cf70ee7
commit
669f7b32c6
5 changed files with 4 additions and 9 deletions
|
|
@ -1,4 +0,0 @@
|
||||||
recursive-include nvitop LICENSE
|
|
||||||
recursive-include nvitop COPYING
|
|
||||||
include LICENSE
|
|
||||||
include COPYING
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
include LICENSE
|
|
||||||
|
|
@ -8,7 +8,7 @@ description = "Prometheus exporter built on top of `nvitop`."
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">= 3.8"
|
requires-python = ">= 3.8"
|
||||||
authors = [{ name = "Xuehai Pan", email = "XuehaiPan@pku.edu.cn" }]
|
authors = [{ name = "Xuehai Pan", email = "XuehaiPan@pku.edu.cn" }]
|
||||||
license = { text = "Apache License, Version 2.0 (Apache-2.0)" }
|
license = { text = "Apache-2.0" }
|
||||||
keywords = [
|
keywords = [
|
||||||
"nvidia",
|
"nvidia",
|
||||||
"nvidia-smi",
|
"nvidia-smi",
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
# pylint: disable=invalid-name
|
# pylint: disable=invalid-name
|
||||||
|
|
||||||
__version__ = '1.4.2'
|
__version__ = '1.4.2'
|
||||||
__license__ = 'GPL-3.0-only AND Apache-2.0'
|
__license__ = 'Apache-2.0 AND GPL-3.0-only'
|
||||||
__author__ = __maintainer__ = 'Xuehai Pan'
|
__author__ = __maintainer__ = 'Xuehai Pan'
|
||||||
__email__ = 'XuehaiPan@pku.edu.cn'
|
__email__ = 'XuehaiPan@pku.edu.cn'
|
||||||
__release__ = False
|
__release__ = False
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ description = "An interactive NVIDIA-GPU process viewer and beyond, the one-stop
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">= 3.8"
|
requires-python = ">= 3.8"
|
||||||
authors = [{ name = "Xuehai Pan", email = "XuehaiPan@pku.edu.cn" }]
|
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 (GPL-3.0)" }
|
license = { text = "Apache-2.0 AND GPL-3.0-only" }
|
||||||
keywords = [
|
keywords = [
|
||||||
"nvidia",
|
"nvidia",
|
||||||
"nvidia-smi",
|
"nvidia-smi",
|
||||||
|
|
@ -68,7 +68,7 @@ include = ["nvitop", "nvitop.*"]
|
||||||
|
|
||||||
[tool.mypy]
|
[tool.mypy]
|
||||||
# Sync with requires-python
|
# Sync with requires-python
|
||||||
python_version = "3.8" # appease mypy for syntax errors in numpy stubs
|
python_version = "3.8"
|
||||||
mypy_path = [".", "nvitop-exporter"]
|
mypy_path = [".", "nvitop-exporter"]
|
||||||
exclude = ["nvitop-exporter/setup.py"]
|
exclude = ["nvitop-exporter/setup.py"]
|
||||||
pretty = true
|
pretty = true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue