diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index b8e866c..0000000 --- a/MANIFEST.in +++ /dev/null @@ -1,4 +0,0 @@ -recursive-include nvitop LICENSE -recursive-include nvitop COPYING -include LICENSE -include COPYING diff --git a/nvitop-exporter/MANIFEST.in b/nvitop-exporter/MANIFEST.in deleted file mode 100644 index 1aba38f..0000000 --- a/nvitop-exporter/MANIFEST.in +++ /dev/null @@ -1 +0,0 @@ -include LICENSE diff --git a/nvitop-exporter/pyproject.toml b/nvitop-exporter/pyproject.toml index 7f3c7bd..87b0f38 100644 --- a/nvitop-exporter/pyproject.toml +++ b/nvitop-exporter/pyproject.toml @@ -8,7 +8,7 @@ description = "Prometheus exporter built on top of `nvitop`." readme = "README.md" requires-python = ">= 3.8" 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 = [ "nvidia", "nvidia-smi", diff --git a/nvitop/version.py b/nvitop/version.py index 84617f8..5175a3a 100644 --- a/nvitop/version.py +++ b/nvitop/version.py @@ -19,7 +19,7 @@ # pylint: disable=invalid-name __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' __email__ = 'XuehaiPan@pku.edu.cn' __release__ = False diff --git a/pyproject.toml b/pyproject.toml index 9acea40..33e9560 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ description = "An interactive NVIDIA-GPU process viewer and beyond, the one-stop readme = "README.md" requires-python = ">= 3.8" 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 = [ "nvidia", "nvidia-smi", @@ -68,7 +68,7 @@ include = ["nvitop", "nvitop.*"] [tool.mypy] # Sync with requires-python -python_version = "3.8" # appease mypy for syntax errors in numpy stubs +python_version = "3.8" mypy_path = [".", "nvitop-exporter"] exclude = ["nvitop-exporter/setup.py"] pretty = true