|
| 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