spack/var/spack/repos/builtin/packages/py-plotly/package.py
Pariksheet Nanda f43b7824ca
py-plotly: unfix dependency versions (fixes #16544) (#16546)
* py-plotly: unfix dependency versions (fixes #16544)

* py-plotly: add missing dependencies for #16546

* py-plotly: match setup.py instead of requirements.txt for #16546
2020-05-12 17:06:18 -05:00

23 lines
854 B
Python

# 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 PyPlotly(PythonPackage):
"""An interactive, browser-based graphing library for Python"""
homepage = "https://plot.ly/python/"
url = "https://pypi.io/packages/source/p/plotly/plotly-2.2.0.tar.gz"
version('2.2.0', sha256='ca668911ffb4d11fed6d7fbb12236f8ecc6a7209db192326bcb64bdb41451a58')
depends_on('py-setuptools', type='build')
depends_on('py-decorator@4.0.6:', type=('build', 'run'))
depends_on('py-nbformat@4.2.0:', type=('build', 'run'))
depends_on('py-requests', type=('build', 'run'))
depends_on('py-six', type=('build', 'run'))
depends_on('py-pytz', type=('build', 'run'))