From 7649c652c0bab3654caca9928ee608fb7eb16864 Mon Sep 17 00:00:00 2001 From: Jen Herting Date: Mon, 26 Oct 2020 14:24:30 -0400 Subject: New package: py-visdom (#19479) * [py-visdom] created template * [py-visdom] added dependencies * [py-visdom] added homepage and description. removed fixmes * [py-visdom] added dependency on py-torchfile * [py-visdom] py-pillow -> pil * [py-visdom] fixed url format * [py-visdom] fixed url format --- .../repos/builtin/packages/py-visdom/package.py | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-visdom/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-visdom/package.py b/var/spack/repos/builtin/packages/py-visdom/package.py new file mode 100644 index 0000000000..b6bd808346 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-visdom/package.py @@ -0,0 +1,30 @@ +# 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 PyVisdom(PythonPackage): + """Visdom aims to facilitate visualization of (remote) data + with an emphasis on supporting scientific + experimentation.""" + + homepage = "https://github.com/facebookresearch/visdom" + url = "https://pypi.io/packages/source/v/visdom/visdom-0.1.8.9.tar.gz" + + version('0.1.8.9', sha256='c73ad23723c24a48156899f78dd76bd4538eba3edf9120b6c65a9528fa677126') + + depends_on('py-setuptools', type='build') + depends_on('py-numpy@1.8:', type=('build', 'run')) + depends_on('py-scipy', type=('build', 'run')) + depends_on('py-requests', type=('build', 'run')) + depends_on('py-tornado', type=('build', 'run')) + depends_on('py-pyzmq', type=('build', 'run')) + depends_on('py-six', type=('build', 'run')) + depends_on('py-jsonpatch', type=('build', 'run')) + depends_on('py-websocket-client', type=('build', 'run')) + depends_on('py-torch@0.3.1:', type=('build', 'run')) + depends_on('pil', type=('build', 'run')) + depends_on('py-torchfile', type=('build', 'run')) -- cgit v1.2.3-60-g2f50