summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-memprof/package.py
blob: d64b91e82463f19465cf04add1fd5eaa01eb43ab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack.package import *


class PyMemprof(PythonPackage):
    """memprof logs and plots the memory usage of all the
    variables during the execution of the decorated methods."""

    homepage = "https://jmdana.github.io/memprof/"
    pypi = "memprof/memprof-0.3.6.tar.gz"

    license("GPL-3.0-or-later")

    version("0.3.6", sha256="a8376ce476bf82a5eb465d1a30b8ffc86cc55b0b6de7aa4cdeccb4c99586d967")

    depends_on("py-setuptools", type="build")
    depends_on("py-cython", type="build")
    depends_on("py-matplotlib", type=("build", "run"))