-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathJupyterKernel-Bash-0.9.3-GCCcore-13.3.0-4.3.4.eb
More file actions
61 lines (49 loc) · 1.54 KB
/
Copy pathJupyterKernel-Bash-0.9.3-GCCcore-13.3.0-4.3.4.eb
File metadata and controls
61 lines (49 loc) · 1.54 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# This file is part of JSC's public easybuild repository (https://github.com/easybuilders/jsc)
easyblock = 'PythonBundle'
name = 'JupyterKernel-Bash'
version = '0.9.3'
local_jupyterver = '4.3.4'
versionsuffix = '-' + local_jupyterver
homepage = 'https://github.com/takluyver/bash_kernel'
description = """
Native Bash kernel for Jupyter.
Project Jupyter exists to develop open-source software, open-standards, and services
for interactive computing across dozens of programming languages.
"""
toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
toolchainopts = {'pic': True}
builddependencies = [
('binutils', '2.42'),
]
dependencies = [
('Python', '3.12.3'),
('JupyterLab', local_jupyterver),
]
sanity_pip_check = True
use_pip = True
exts_list = [
('bash_kernel', version, {
'checksums': ['9f7a03811ca7d9cb1fbff8082237cf0450b97182252fd0b80587a16b65e66d58'],
}),
]
modextrapaths = {
'JUPYTER_PATH': ['share/jupyter'],
}
# Ensure that the user-specific $HOME/.local/share/jupyter is always first entry in JUPYTER_PATH
modluafooter = """
remove_path("JUPYTER_PATH", pathJoin(os.getenv("HOME"), ".local/share/jupyter"))
prepend_path("JUPYTER_PATH", pathJoin(os.getenv("HOME"), ".local/share/jupyter"))
"""
postinstallcmds = [
'${EBROOTPYTHON}/bin/python3 -m bash_kernel.install --prefix %(installdir)s'
]
sanity_check_paths = {
'files': [
'share/jupyter/kernels/bash/kernel.json',
],
'dirs': [
'lib/python%(pyshortver)s/site-packages',
'share/jupyter/kernels/bash/',
],
}
moduleclass = 'tools'