summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-memprof/package.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-memprof/package.py b/var/spack/repos/builtin/packages/py-memprof/package.py
new file mode 100644
index 0000000000..fd2eddb798
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-memprof/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2020 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 import *
+
+
+class PyMemprof(PythonPackage):
+ """memprof logs and plots the memory usage of all the
+ variables during the execution of the decorated methods."""
+
+ homepage = "http://jmdana.github.io/memprof/"
+ pypi = "memprof/memprof-0.3.6.tar.gz"
+
+ version('0.3.6', sha256='a8376ce476bf82a5eb465d1a30b8ffc86cc55b0b6de7aa4cdeccb4c99586d967')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-cython', type='build')
+ depends_on('py-argparse', when='^python@:2.6', type=('build', 'run'))
+ depends_on('py-matplotlib', type=('build', 'run'))