Skip to content

Commit b670205

Browse files
authored
py-nvitop: new package (spack#48426)
* Adding nvitop package * [@spackbot] updating style on behalf of nboelte * Adding dependency constraints and types * Adding maintainer * Adding python version dependency * Style fix * Commented out unused platform=windows dependency
1 parent d6d8800 commit b670205

File tree

1 file changed

+33
-0
lines changed
  • var/spack/repos/builtin/packages/py-nvitop

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Copyright Spack Project Developers. See COPYRIGHT file for details.
2+
#
3+
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
4+
5+
from spack.package import *
6+
7+
8+
class PyNvitop(PythonPackage):
9+
"""
10+
An interactive NVIDIA-GPU process viewer and beyond,
11+
the one-stop solution for GPU process management.
12+
"""
13+
14+
homepage = "https://nvitop.readthedocs.io/"
15+
pypi = "nvitop/nvitop-1.4.0.tar.gz"
16+
17+
maintainers("nboelte")
18+
19+
license("Apache-2.0", checked_by="nboelte")
20+
21+
version("1.4.0", sha256="92f313e9bd89fe1a9d54054e92f490f34331f1b7847a89ddaffd6a7fde1437bb")
22+
23+
depends_on("[email protected]:12.561", type=("build", "run"))
24+
depends_on("[email protected]:", type=("build", "run"))
25+
depends_on("[email protected]:", type=("build", "run"))
26+
depends_on("[email protected]:", type=("build", "run"))
27+
depends_on("[email protected]:", type=("build", "run"))
28+
depends_on("py-setuptools", type="build")
29+
30+
# Windows support would require the package py-windows-curses to be available in spack.
31+
# depends_on("[email protected]:", when="platform=windows", type=("build", "run"))
32+
# depends_on("[email protected]:", when="platform=windows", type=("build", "run"))
33+
conflicts("platform=windows")

0 commit comments

Comments
 (0)