[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/12: gnu: Move search path JUPYTER_PATH.
From: |
guix-commits |
Subject: |
01/12: gnu: Move search path JUPYTER_PATH. |
Date: |
Mon, 26 Apr 2021 04:37:48 -0400 (EDT) |
lbraun pushed a commit to branch master
in repository guix.
commit 1683e9d9677d54f695a54fc44ed309287989fc34
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Tue Apr 20 08:54:00 2021 +0200
gnu: Move search path JUPYTER_PATH.
python-jupyter-core provides the `jupyter` binary as well as generic
functions to discover the search path for all Jupyter subprojects. Thus
it should provide the search paths too.
* gnu/packages/python-xyz.scm (jupyter): From here…
(python-jupyter-core): …to here.
[native-search-paths]: Add JUPYTER_CONFIG_DIR, because some Jupyter
projects install config files to their etc/ directory and expect them to
be loaded automatically.
---
gnu/packages/python-xyz.scm | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d2e4f92..a26e005 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7388,6 +7388,15 @@ without using the configuration machinery.")
(arguments `(#:tests? #f))
(propagated-inputs
`(("python-traitlets" ,python-traitlets)))
+ ;; This package provides the `jupyter` binary and thus also exports the
+ ;; search paths.
+ (native-search-paths
+ (list (search-path-specification
+ (variable "JUPYTER_CONFIG_DIR")
+ (files '("etc/jupyter")))
+ (search-path-specification
+ (variable "JUPYTER_PATH")
+ (files '("share/jupyter")))))
(home-page "https://jupyter.org/")
(synopsis "Jupyter base package")
(description
@@ -10879,10 +10888,6 @@ popular online obfuscators.")
("python-nbconvert" ,python-nbconvert)
("python-notebook" ,python-notebook)
("python-qtconsole" ,python-qtconsole)))
- (native-search-paths
- (list (search-path-specification
- (variable "JUPYTER_PATH")
- (files '("share/jupyter")))))
(home-page "https://jupyter.org")
(synopsis "Web application for interactive documents")
(description
- branch master updated (2ff36e4 -> 2209e5c), guix-commits, 2021/04/26
- 01/12: gnu: Move search path JUPYTER_PATH.,
guix-commits <=
- 02/12: gnu: python-jupyter-core: Enable tests., guix-commits, 2021/04/26
- 05/12: gnu: python-nbformat: Enable tests., guix-commits, 2021/04/26
- 06/12: gnu: Add python-jupyter-client-bootstrap., guix-commits, 2021/04/26
- 07/12: gnu: Add python-ipykernel-bootstrap., guix-commits, 2021/04/26
- 10/12: gnu: Add python-pytest-dependency., guix-commits, 2021/04/26
- 11/12: gnu: python-nbconvert: Enable more tests., guix-commits, 2021/04/26
- 08/12: gnu: python-jupyter-client: Enable tests., guix-commits, 2021/04/26
- 03/12: gnu: Add python-json-spec., guix-commits, 2021/04/26
- 04/12: gnu: Add python-fastjsonschema., guix-commits, 2021/04/26
- 09/12: gnu: python-ipykernel: Add missing inputs., guix-commits, 2021/04/26