summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-jupyter/package.py
blob: d58dbbebf7073b57c747f47b3cf9a414c3fadf25 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 2013-2023 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 PyJupyter(PythonPackage):
    """Jupyter metapackage. Install all the Jupyter components in one go."""

    homepage = "https://jupyter.org/"
    pypi = "jupyter/jupyter-1.0.0.tar.gz"

    license("BSD-3-Clause")

    version("1.0.0", sha256="d9dc4b3318f310e34c82951ea5d6683f67bed7def4b259fafbfe4f1beb1d8e5f")

    # pip silently replaces distutils with setuptools
    depends_on("py-setuptools", type="build")
    depends_on("py-notebook", type=("build", "run"))
    depends_on("py-qtconsole", type=("build", "run"))
    depends_on("py-jupyter-console", type=("build", "run"))
    depends_on("py-nbconvert", type=("build", "run"))
    depends_on("py-ipykernel", type=("build", "run"))
    depends_on("py-ipywidgets", type=("build", "run"))