# # spec file for package python-plotly # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-plotly Version: 2.5.1 Release: 0 Summary: Library for collaborative, interactive, publication-quality graphs License: MIT Group: Development/Languages/Python Url: https://plot.ly/api/python Source: https://files.pythonhosted.org/packages/source/p/plotly/plotly-%{version}.tar.gz BuildRequires: %{python_module decorator >= 4.0.6} BuildRequires: %{python_module devel} BuildRequires: %{python_module jupyter_nbformat >= 4.2} BuildRequires: %{python_module pytz} BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-decorator >= 4.0.6 Requires: python-jupyter_nbformat >= 4.2 Requires: python-pytz Requires: python-requests Requires: python-six Recommends: python-jupyter_ipython Recommends: python-jupyter_ipywidgets Recommends: python-jupyter_notebook Recommends: python-matplotlib >= 1.3.1 Recommends: python-numpy Recommends: python-pandas BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages %description Use this package to make collaborative, interactive, publication-quality graphs from Python on https://plot.ly. Plotly is an online collaborative data analysis and graphing tool. The Python API allows you to access all of Plotly's functionality from Python. Plotly figures are shared, tracked, and edited all online and the data is always accessible from the graph. %prep %setup -q -n plotly-%{version} %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %defattr(-,root,root,-) %doc README.rst %{python_sitelib}/* %changelog